Skip to content
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

Special character encoding fails with 0.9.x #12

Closed
landcaster opened this issue Apr 2, 2011 · 2 comments
Closed

Special character encoding fails with 0.9.x #12

landcaster opened this issue Apr 2, 2011 · 2 comments

Comments

@landcaster
Copy link

I have just recently begun to use pegdown in a project and so far I am finding it to be a nice library. One thing I have noticed though, even with 0.9.x series, I am unable to escape special characters correctly when they are not placed within a markdown tag that generates a link.

For example if I do this:
example

The & does correctly become &.

If on the other hand I do something like what is found in the Special Chars.text, the special characters are not correctly replaced with the escaped counterparts.

I have attempted to use different combinations of the Extensions ranging from none to all and combination of the extensions seem to change how the special characters are handled.

Thank you for sharing this easy to use implementation of markdown.

@sirthias
Copy link
Owner

sirthias commented Apr 5, 2011

Thanks for the report.
The fix is in the develop branch and will become part of the 0.9.2 release...

@sirthias sirthias closed this as completed Apr 5, 2011
@landcaster
Copy link
Author

Thank you. I have compiled from the develop branch and it looks to work in my project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants