wikicloth icon indicating copy to clipboard operation
wikicloth copied to clipboard

Lines starting with space followed by a line with single space are missing in the HTML result.

Open GSI opened this issue 12 years ago • 2 comments

UPDATE: I further reduced the failing example text.

This:

test = <<DOC
 missing text

DOC
# Note there are one or more whitespaces in line 2 of the text above, but GitHub deletes them.

p WikiCloth::Parser.new(:data => test).to_html

Causes that:

\n\n<p><pre></pre>\n</p>

GSI avatar Mar 20 '13 23:03 GSI

confirmed. not sure exactly what is causing it yet though.

nricciar avatar Mar 21 '13 21:03 nricciar

Apparently, it's been 2 years. I just reported a problem with github's wiki because of this, see:

https://github.com/github/markup/issues/488

Any chance of getting this problem fixed?

rdiez avatar Apr 19 '15 15:04 rdiez