Ticket #26285 (closed: fixed)
Wiki translates carriage-returns in markdown to breaks in html
|Reported by:||jnewsome||Owned by:||ctsai|
e.g., the markdown:
One Two Three
Output the html:
<p>One<br />Two<br />Three</p>
Instead of the expected:
<p>One Two Three</p>
According to the wiki documentation at https://sourceforge.net/p/forge/documentation/Wiki/, the wiki markdown is as specified at http://daringfireball.net/projects/markdown/syntax, except for the noted exceptions.
One of the features of markdown is that it supports 'hard-wrapped' text paragraphs. (See "PARAGRAPHS AND LINE BREAKS" at http://daringfireball.net/projects/markdown/syntax ). I.e., the plain-text paragraphs may have hard carriage returns to keep each line under 80 characters, but the output html does not insert breaks.
This does not seem to be the behavior of (Beta-style) wiki.
This is particularly a problem for using an external editor (emacs), and when copying and pasting back and forth between plaintext documentation and wiki pages.