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

Fix sanitizer to whitelist h1-6. #29

Closed
GoogleCodeExporter opened this issue Apr 23, 2015 · 5 comments
Closed

Fix sanitizer to whitelist h1-6. #29

GoogleCodeExporter opened this issue Apr 23, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link

See attached diff.

Original issue reported on code.google.com by m...@bootstraponline.com on 7 Jun 2012 at 4:27

Attachments:

@GoogleCodeExporter
Copy link
Author

The change is also on GitHub.
https://github.com/bootstraponline/livepreview/commit/42311a1077a35cc5c7f0640719
3a859ef3abb7c0

Original comment by m...@bootstraponline.com on 7 Jun 2012 at 4:28

@GoogleCodeExporter
Copy link
Author

Issue 30 has been merged into this issue.

Original comment by b...@stackoverflow.com on 5 Jul 2012 at 4:53

@GoogleCodeExporter
Copy link
Author

The choice of whitelisted tags is somewhat arbitrary; anyone using the 
sanitizer may want different tags. The current list is just the one we use on 
Stack Overflow.

I am not opposed to making this configurable, but replacing one arbitrary 
whitelist with another really doesn't solve anything.

Original comment by b...@stackoverflow.com on 12 Sep 2012 at 9:59

  • Changed state: WontFix

@GoogleCodeExporter
Copy link
Author

Issue 36 has been merged into this issue.

Original comment by b...@stackoverflow.com on 12 Sep 2012 at 10:06

@GoogleCodeExporter
Copy link
Author

If anyone wants ATX header support for H1-H4 (can be easily adapted to H1-H6 
etc) using the header button see 
https://gist.github.com/dotnetchris/0f68c879082343295503

Original comment by ch...@marisic.com on 30 Sep 2014 at 5:57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant