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

Escape HTML #1

Closed
domenic opened this issue Sep 8, 2014 · 1 comment
Closed

Escape HTML #1

domenic opened this issue Sep 8, 2014 · 1 comment

Comments

@domenic
Copy link
Member

domenic commented Sep 8, 2014

Pretty sure it suffices to just escape & to &amp; and < to &lt; since we are not in an attribute context.

@domenic
Copy link
Member Author

domenic commented Sep 26, 2014

Upon review, it looks like it'd be best to just pass through any HTML (or Ecmarkup). It seems that as long as we don't care about authoring conformance we can use < as long as we follow it with a space.

So basically, not escaping HTML gives us more flexibility and doesn't seem to necessitate that the author write &lt; a lot.

@domenic domenic closed this as completed Sep 26, 2014
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

1 participant