Ticket #56 (closed defect: fixed)
Single paragraph following a PRE in an LI is not marked up as a paragraph
| Reported by: | deveiant | Owned by: | deveiant |
|---|---|---|---|
| Milestone: | Bugfixes | Component: | MarkdownSyntax |
| Version: | 2.0.0 | Severity: | normal |
| Keywords: | unordered list item indent pre after paragraph | Cc: | matt@… |
Description
Paraphrased from Matt Neuberg in 333476:
puts BlueCloth.new(" * testing pre more li ").to_html
outputs:
<ul> <li><p>testing</p> <pre><code>pre </code></pre> more li</li> </ul>
The more li line should be wrapped in a P. If you either remove one space from the PRE line so that it becomes a P or add an additional line to the input, the line does get wrapped in a P.
Change History
Note: See
TracTickets for help on using
tickets.

Fixed sometime in a Discount version prior to 1.5.8; added a spec for it in r3A617e767c1331.