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
<mark> treated as block tag #298
Comments
Sorry, I don't fully understand the problem. The |
Has it been deprecated? |
Ah, okay, didn't know that it was a HTML5 tag. Okay, so this is a span-level tag like |
The rendered HTML is <p>Lorem ipsum.</p>
<mark>Test</mark>
<mark>Foobar</mark> when it should be <p>Lorem ipsum.</p>
<p><mark>Test</mark></p>
<p><mark>Foobar</mark></p> - <mark>Test</mark>
+ <p><mark>Test</mark></p>
- <mark>Foobar</mark>
+ <p><mark>Foobar</mark></p> |
Okay, that should be easy to fix - thanks for the bug report! |
No problem, appreciate the fast reply! |
👍 |
Using Seems to have the result of removing
<p>
tags when writing in Jekyll.Markdown input:
HTML output:
$ bundle exec kramdown -v 1.9.0
I thought it might have to do with the tag being treated as an unknown tag or a block tag given the behaviour, but the main problem is that using
markdown=“1"
andmarkdown="span"
doesn’t fix it either.I take it this can’t be expected behaviour, at least if you can’t mitigate it with the
markdown
attribute. Or does is it “not working, as expected”, if you will? :)I’ll be using
<span class="highlight">
for now, but that’s obviously not ideal for a number of reasons.The text was updated successfully, but these errors were encountered: