diff --git a/js/sq2bs.js b/js/sq2bs.js index a1de216..4c25ad4 100644 --- a/js/sq2bs.js +++ b/js/sq2bs.js @@ -596,7 +596,7 @@ function construct_AT(elem, tree) { let active_tooltip_title = document.createElement('b'); active_tooltip_title.classList.add("scaled-font"); - active_tooltip_title.textContent = node.title; + active_tooltip_title.innerHTML = node.title.replaceAll("\n", "
"); let active_tooltip_text = document.createElement('p'); active_tooltip_text.classList.add("scaled-font-sm");