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

Cutting off everything before the double break in a <pre> #83

Closed
logicplace opened this issue Sep 13, 2015 · 1 comment
Closed

Cutting off everything before the double break in a <pre> #83

logicplace opened this issue Sep 13, 2015 · 1 comment

Comments

@logicplace
Copy link

Example: WikiCloth::Parser.new({:data=>"abcdef\n<pre>inpre\n\ndoublebreak\nblah</pre>\n"}).to_html

Result: "\n<p>abcdef\n<pre>doublebreak\nblah</pre></p>"

This only seems to affect pre tags as I tried it with tt and it didn't have this issue. So I would expect something more like tt returns:

Example: WikiCloth::Parser.new({:data=>"abcdef\n<tt>inpre\n\ndoublebreak\nblah</tt>\n"}).to_html

Result: "\n<p>abcdef\n</p><tt>inpre\n\ndoublebreak\nblah</tt>"

Obviously the paragraph tags are a bit different too, though I care less about that.

@nricciar
Copy link
Owner

Duplicate #102, closing this one as the other is a bit more descriptive

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

2 participants