Closed diomidov closed 3 years ago
If a comment ends in $...$-->, nothing after it is rendered. The issue is that postprocessKaTeX inserts a <span class="nobr"> around math mode and punctuation directly after it. In this case, punctuation is --. So you get
$...$-->
postprocessKaTeX
<span class="nobr">
--
<!-- <span class="nobr"> <span class="katex">...</span> -- </span> >
https://coauthor.csail.mit.edu/coauthor-dev/m/P2FDbcoSJFALqhdPw
Should be fixed at the same time as #465.
What's wrong?
If a comment ends in
$...$-->
, nothing after it is rendered. The issue is thatpostprocessKaTeX
inserts a<span class="nobr">
around math mode and punctuation directly after it. In this case, punctuation is--
. So you getHow to Reproduce
https://coauthor.csail.mit.edu/coauthor-dev/m/P2FDbcoSJFALqhdPw
Screenshots
Context