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

h4-h6 do not work #21

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

h4-h6 do not work #21

GoogleCodeExporter opened this issue Apr 23, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?

Attempt to enter an h4, h5, or h6 like so:

#### Test
##### Test
###### Test

What is the expected output? What do you see instead?

Expect to convert to <h4>Test</h4> for example. Converts to unmarked-up text 
instead.


What version of the product are you using? On what operating system?

Using trunk code in Chrome 19, Mac OS X Snow Leopard


Please provide any additional information below.


Original issue reported on code.google.com by tim.hueg...@gmail.com on 20 Feb 2012 at 8:37

@GoogleCodeExporter
Copy link
Author

H4-H6 work fine.

I suppose you're using the sanitizer plugin, which only whitelists H1-H3, so 
H4-H6 will be killed. They're created just fine by the Markdown converter, 
though.

The tag whitelist is exactly the one we use on Stack Exchange. If you want to 
allow more or different tags, you'll have to change the whitelist (search for 
"basic_tag_whitelist").

Original comment by b...@stackoverflow.com on 20 Feb 2012 at 9:21

  • Changed state: Invalid

@GoogleCodeExporter
Copy link
Author

Well this was very non-obvious

Original comment by ch...@marisic.com on 30 Sep 2014 at 2:50

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