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

unbreakable spaces appear to be converted in html entities twice #190

Closed
Marc-oO opened this issue Nov 30, 2017 · 3 comments
Closed

unbreakable spaces appear to be converted in html entities twice #190

Marc-oO opened this issue Nov 30, 2017 · 3 comments
Assignees
Labels

Comments

@Marc-oO
Copy link

Marc-oO commented Nov 30, 2017

Hello,

everything is in the title and here :

https://codepen.io/anon/pen/YERjgw

have a good day

@kbrsh kbrsh self-assigned this Nov 30, 2017
@kbrsh kbrsh added the bug label Nov 30, 2017
@kbrsh
Copy link
Owner

kbrsh commented Nov 30, 2017

That's because when the browser parses the text, it passes an   to Moon. There is no current escape code for it, but I can add it.

A fix would be to paste the entire div into the template option, so that Moon compiles it correctly.

CodePen Link

@Marc-oO
Copy link
Author

Marc-oO commented Nov 30, 2017

Thank you for your explanations 👍

@Marc-oO Marc-oO closed this as completed Nov 30, 2017
@kbrsh
Copy link
Owner

kbrsh commented Dec 1, 2017

No problem. Since Moon can handle this escape for you, I'll keep this issue open.

@kbrsh kbrsh reopened this Dec 1, 2017
@kbrsh kbrsh closed this as completed in 74ed50c Dec 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants