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

HTML entities treated incorrectly #1066

Closed
Rich-Harris opened this issue Jan 2, 2018 · 0 comments · Fixed by #1073
Closed

HTML entities treated incorrectly #1066

Rich-Harris opened this issue Jan 2, 2018 · 0 comments · Fixed by #1073
Labels

Comments

@Rich-Harris
Copy link
Member

Rich-Harris commented Jan 2, 2018

When compiling to custom elements, markup like this...

<p>this should not be &lt;strong&gt;bold&lt;/strong&gt;</p>

...is treated incorrectly — a <strong> element appears where none should.

(edited: turns out this is nothing to do with custom elements)

@Rich-Harris Rich-Harris added the bug label Jan 2, 2018
Rich-Harris added a commit that referenced this issue Jan 5, 2018
@Rich-Harris Rich-Harris changed the title HTML entities treated incorrectly inside custom elements HTML entities treated incorrectly Jan 5, 2018
Rich-Harris added a commit that referenced this issue Jan 5, 2018
Rich-Harris added a commit that referenced this issue Jan 5, 2018
Escape entities correctly when compiling to static HTML
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant