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

Support inline display HTML tags #6

Closed
maxg opened this issue Feb 3, 2016 · 1 comment
Closed

Support inline display HTML tags #6

maxg opened this issue Feb 3, 2016 · 1 comment

Comments

@maxg
Copy link
Owner

maxg commented Feb 3, 2016

The recursive parser doesn't differentiate HTML tags, so:

Foo <span>bar</span> baz

becomes:

<p>Foo</p>
<span><p>bar</p></span>
<p>baz</p>

This would eliminate many situations that currently require class="no-markdown", e.g. <sup> and <sub>.

Perhaps a whitelist of elements to treat specially during recursive parsing?

@maxg
Copy link
Owner Author

maxg commented Feb 12, 2018

Fixed (questionably?) in 00ac2c3 for <sub> and <sup>, tracking need for more tags in #18.

@maxg maxg closed this as completed Feb 12, 2018
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