-
Notifications
You must be signed in to change notification settings - Fork 333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[cmark] Some characters are escaped twice #99
Comments
Thanks for filing this @krummler; this is an issue in the underlying Confirmed
becomes
|
Hi Rob, I made an issue: commonmark/cmark#276. I'll report back if there are any significant changes. |
They deny they can reproduce this on the cmark project in that issue#276. The date that 0.28.3 PR was merged into Down is the same day as @iwasrobbed 's comments above (it says 18 days ago). When I attempt to reproduce this with Down 0.6.1 it seems to work correctly. I get
which I think is correct. Is it possible this was fixed in the cmark update? Actually, I just checked and this bug is present in 0.5.2 and absent in 0.6.0 and later. So I think it's fixed. |
Hi there, thanks for the feedback, it seems to work fine now! |
First off, thanks for this great library!
Report
What did you do?
Entered multiple html-excaped characters into the content of a
DownView
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>
The text was updated successfully, but these errors were encountered: