arshadalisoomro / pagedown

Automatically exported from code.google.com/p/pagedown
Other
0 stars 0 forks source link

Fix sanitizer to whitelist h1-6. #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
See attached diff.

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

Attachments:

GoogleCodeExporter commented 9 years ago
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 commented 9 years ago
Issue 30 has been merged into this issue.

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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
Issue 36 has been merged into this issue.

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

GoogleCodeExporter commented 9 years ago
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