Ticket #1 (new task)
Textile strong marks incorrectly span multiple lines
| Reported by: | whitley at acm dot org | Owned by: | somebody |
|---|---|---|---|
| Priority: | trivial | Milestone: | |
| Component: | component1 | Version: | 3.0.4 |
| Keywords: | Cc: |
Description
RedCloth? version: 3.0.4, Ruby version: 1.8.4 (via darwinports)
The following example shows the asterisk on the first line to be interpreted as a multi-line strong mark, where this definitely wasn't the intent. I note that the behavior here differs from the Textism output, so I'm reporting it here:
Original text:
here's text *this is a test * this is an item * this is another item * this is *yet* another item
RedCloth? output:
here’s text <strong>this is a test
<ul>
<li>this is an item</li>
<li>this is another item</li>
<li>this is *yet</strong> another item</li>
</ul>
Textism Textile output:
<p>here’s text *this is a test</p> <ul> <li>this is an item</li> <li>this is another item</li> <li>this is <strong>yet</strong> another item</li> </ul>
And another example which causes the strong tag to span the closing of a p tag:
p. this is a *strong item p. crossing multiple paragraphs*
RedCloth? output:
<p>this is a <strong>strong item</p>
<p>on multiple paragraphs</strong></p>
Change History
Note: See
TracTickets for help on using
tickets.