You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
% ./cmark
& Hello\n\n" Hai\n\n< Does that work\n\n> Maybe
^D
<p>& Hello\n\n" Hai\n\n< Does that work\n\n> Maybe</p>
What version are you using? (I see from the linked issue 0.28.3. Well, this is with the 0.28.3 release.) I suspect the problem is not actually in cmark.
First off, thanks for this great library!
What did you expect to happen?
I expect characters to be rendered like their unescaped counterparts, for example:
&
becomes&
"
becomes"
<
becomes<
What happened instead?
Most characters seem to work fine, except for
>
and<
(maybe there are more cases).&
stays&
which renders as&
"
stays"
which renders as"
<
becomes&lt;
which renders as<
>
becomes&gt;
which renders as>
Example
Becomes:
The text was updated successfully, but these errors were encountered: