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

Need to replace HTML special characters to their corresponding HTML entities #199

Open
jgkim opened this issue Aug 18, 2015 · 4 comments
Open

Comments

@jgkim
Copy link
Contributor

jgkim commented Aug 18, 2015

I can find some HTML special characters, such as “, ”, ‘, and ’, in the content.

We should replace them with their corresponding HTML entities (e.g. “, ”, ‘, and ’), or for curly quotation marks, we can just use plain quotation marks and let Markdown automatically handle them.

@rufuspollock
Copy link
Member

We should replace quotes to "normal" quotes and let markdown automatically handle them.

@jgkim
Copy link
Contributor Author

jgkim commented Aug 19, 2015

Even if I replaced all the quotation marks into their plain forms (#200), some pages still have HTML special characters such as &, and it could be problematic to automatically replace them with their HTML entities (e.g., &).

@rufuspollock
Copy link
Member

Why do you think it would be problematic?

@jgkim
Copy link
Contributor Author

jgkim commented Aug 19, 2015

@rgrp Since all the HTML entities start with &, it's impossible to simply find & replace every occurrence of & to &.

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