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

pre code blocks are escaped automatically but code spans are not #339

Closed
tivie opened this issue Feb 6, 2017 · 0 comments
Closed

pre code blocks are escaped automatically but code spans are not #339

tivie opened this issue Feb 6, 2017 · 0 comments

Comments

@tivie
Copy link
Member

tivie commented Feb 6, 2017

Input:

<pre><code><span>foo</span></code></pre>

some more code <code><span>foo</span></code>

Expected output:

<pre><code>$lt;span$gt;foo$lt;/span$gt;</code></pre>

<p>some more code <code>$lt;span$gt;foo$lt;/span$gt;</code></p>

Actual output:

<pre><code>$lt;span$gt;foo$lt;/span$gt;</code></pre>

<p>some more code <code><span>foo</span></code></p>

Either none or both should be escaped

@tivie tivie closed this as completed in 41cb3f6 Feb 6, 2017
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