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

Linebreaks inside a <code> tag should not be removed #345

Closed
lazytyper opened this issue Jul 31, 2016 · 0 comments
Closed

Linebreaks inside a <code> tag should not be removed #345

lazytyper opened this issue Jul 31, 2016 · 0 comments
Assignees
Labels
type:bug A bug report

Comments

@lazytyper
Copy link

Bug Report

Context

<pre><code>// Hello World

console.log('Hello World!');</code></pre>

Expected Behavior

The line breaks should not be removed, as it works without the <code> tag.

<pre>// Hello World

console.log('Hello World!');</pre>

Actual Behavior

<pre><code>// Hello World console.log('Hello World!');</code></pre>
<pre>// Hello World

console.log('Hello World!');</pre>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug A bug report
Projects
None yet
Development

No branches or pull requests

2 participants