
Accept multiline content in the table cell
Reported by Ion Balan | March 19th, 2009 @ 05:34 AM | in 4.2.0
http://www.textism.com/tools/tex... :
source:
|a|b
b|
|c
c|d|
result:
<table>
<tr>
<td>a</td>
<td>b<br />
b</td>
</tr>
<tr>
<td>c<br />
c</td>
<td>d</td>
</tr>
</table>
RedCloth 4.1.9:
irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> require 'redcloth'
=> true
irb(main):003:0> RedCloth.new("|a|b\nb|\n|c\nc|d|").to_html
=> "<table>\n\t<tr>\n\t\t<td>a</td>\n</table>\nb\nb|\n|c\nc|d|"
expected:
"<table>\n\t<tr>\n\t\t<td>a</td>\n\t\t<td>b b</td>\n\t</tr>\n\t<tr>\n\t\t<td>c c</td>\n\t\t<td>d</td>\n\t</tr>\n</table>"
Comments and changes to this ticket
-
Jason Garber March 23rd, 2009 @ 11:30 AM
- State changed from new to open
This is important. It should be a high priority.
-
Jason Garber May 26th, 2009 @ 03:25 PM
- State changed from open to resolved
(from [6a2a99698c49127d39d61bfef18990720b72cad7]) Accept multiline content in table cells. [#135 state:resolved] http://github.com/jgarber/redcloth/commit/6a2a99698c49127d39d61bfef...
-
Cid Dennis June 14th, 2009 @ 07:43 PM
I still have issue even with this change. When I put this in to Textism
@@@html |Test
Tile For Less, Arvada
7450 W. 52nd
Arvada, CO 80002
Phone: 303.431.0502 Map Our LocationSTORE HOURS:
Monday - Friday: 9 AM - 6 PM
Saturday: 10 AM - 5 PM
Sunday: 11 AM - 4 PM|
h2. Arvada
Providing excellence in customer service and tile design for over 17 years.|
I get: @@@html
<table> <tr> <td> <h1>Test</h1> <h1>Tile For Less, Arvada</h1> <p>7450 W. 52nd<br />
Arvada, CO 80002<br /> <strong>Phone:</strong> 303.431.0502<br /> <a href="http://www.mapquest.com/maps/map.adp?country=US&#38;countryid=2... Our Location</a></p><h2>STORE HOURS:</h2> <p><br />
Monday - Friday: 9 AM - 6 PM<br /> Saturday: 10 AM - 5 PM<br /> Sunday: 11 AM - 4 PM<br /> </p><p></td></p> <td> <p><img src='http://cdn.shopify.com/s/files/1/0031/3902/files/Arvada_Front.jpg?1244247226' alt='' /><br />
h2. Arvada<br /> Providing excellence in customer service and tile design for over 17 years.</p><p></td></p> </tr> </table>
When RedCloth does it I get:
@@@html|
Test
Tile For Less, Arvada
7450 W. 52nd
Arvada, CO 80002
Phone: 303.431.0502
Map Our Location
STORE HOURS:
Monday - Friday: 9 AM - 6 PM
Saturday: 10 AM - 5 PM
Sunday: 11 AM - 4 PM
|
h2. Arvada
Providing excellence in customer service and tile design for over 17 years.
|
-
Cid Dennis June 14th, 2009 @ 07:46 PM
- no changes were found...
-
Cid Dennis June 14th, 2009 @ 07:46 PM
Sorry about that guess I still did not get formating right. I attached a txt file with input and output from Textism and RedCloth.
-
Jason Garber June 16th, 2009 @ 01:18 PM
Yeah, I don't think we can support that. I always use http://textile.thresholdstate.com/ to test PHP Textile. Textism.com is quite outdated, I think. Besides, if I did implement what you requested, that would encourage non-semantic markup. I'll bend a little, but not that far. Sorry.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
RedCloth is a Ruby library for converting Textile into HTML
People watching this ticket
Attachments
Referenced by
-
135 Accept multiline content in the table cell (from [6a2a99698c49127d39d61bfef18990720b72cad7]) Accept ...