-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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> followed by empty line #1578
Comments
Let me look up the language in the spec. but I do seem to recall that a closing tag suffices to terminate a div. No, only an empty line closes, eg. is an end condition. ok, let me close this. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
A pre tag html block is misrendered in the line following an initial empty line.
To Reproduce
Marked Demo
CommonMark Demo shows the same issue
The commonmark spec. explicitly treats pre tags as not being terminated by an empty line, to allow for proper rendering of white space. Both implementations seem non compliant.
Expected behavior
verbatim copying of text after pre tag as textcontent of a html pre element, until termination.
The text was updated successfully, but these errors were encountered: