-
-
Notifications
You must be signed in to change notification settings - Fork 278
Closed
Description
For example:
$$1$$ A $$2$$
$$1
$$ A $$2$$
generates:
<p><script type="math/tex">1</script> A <script
type="math/tex">2</script></p>
<p>$$1
<script type="math/tex"> A </script>2$$</p>
Notice that in the first case 1 and 2 are correctly recognized as math, but in the second case the line break makes
the closing $$ of 1 match the opening $$ of 2.
Maybe this is intended to work that way but I couldn't find any precise assertion regarding this in the documentation.
Besides, the behavior wreaks havoc with editors that insert line breaks when formatting paragraphs, like vim.
NOTE: I've also reported this here http://rubyforge.org/tracker/index.php?func=detail&aid=29801&group_id=7403&atid=28673 .
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels