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

feat: add unescapeHTML() & fix(escapeHTML): avoid double escape #104

Merged
merged 3 commits into from Sep 29, 2019

Conversation

@curbengh
Copy link
Contributor

curbengh commented Sep 29, 2019

Noticed an edge case where ampersand & is escaped twice, while working on hexojs/hexo#3686 which I had to use this workaround.

curbengh added 3 commits Sep 29, 2019
@curbengh curbengh referenced this pull request Sep 29, 2019
2 of 2 tasks complete
@coveralls

This comment has been minimized.

Copy link

coveralls commented Sep 29, 2019

Coverage Status

Coverage increased (+0.07%) to 95.189% when pulling cc2a063 on curbengh:unescape-html into c26cc72 on hexojs:master.

@SukkaW
SukkaW approved these changes Sep 29, 2019
@curbengh curbengh merged commit 719ead0 into hexojs:master Sep 29, 2019
3 checks passed
3 checks passed
Travis CI - Pull Request Build Passed
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
coverage/coveralls Coverage increased (+0.07%) to 95.189%
Details
@curbengh curbengh deleted the curbengh:unescape-html branch Sep 29, 2019
@curbengh curbengh referenced this pull request Oct 5, 2019
curbengh added a commit to curbengh/hexo that referenced this pull request Oct 8, 2019
curbengh added a commit to curbengh/hexo that referenced this pull request Oct 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.