Closed VSharapov closed 3 years ago
If you have a
<pre>
and you set theinnerText
(instead ofinnerHTML
) ... will it automagically turn carets into<>
?
Yes!
document.getElementsByTagName('pre')[0].innerText = "multi\nline</pre>and this\nis fine"
Should easy - just adding another
menuOption
:parser: {"markdown": true, "raw": false}
If you have a
<pre>
and you set theinnerText
(instead ofinnerHTML
) ... will it automagically turn carets into<>
? 🤷 Worth a try.