#139 open
Ion Balan

notextile and table cell delimiter

Reported by Ion Balan | March 30th, 2009 @ 09:44 AM

The notextile tag don't work for table cell delimiter.


>> RedCloth.new("|a a <notextile>|*b*</notextile> b|c c|").to_html
=> "<table>\n\t<tr>\n\t\t<td>a a <notextile></td>\n\t\t<td><strong>b</strong></notextile> b</td>\n\t\t<td>c c</td>\n\t</tr>\n</table>"

expected:


"<table>\n\t<tr>\n\t\t<td>a a |*b* b</td>\n\t\t<td>c c</td>\n\t</tr>\n</table>"

Comments and changes to this ticket

  • Jason Garber

    Jason Garber June 2nd, 2009 @ 11:01 PM

    • Tag set to notextile, tables
    • State changed from “new” to “open”

    This is a real toughie. I tried allowing pipes contained in notextile or ignore signatures, but it would end up executing the %T action because it couldn't look ahead to know if it was actually part of a notextile/ignore span or if it just happened to have the start but not the finish of those.

  • Jason Garber

    Jason Garber June 3rd, 2009 @ 08:11 AM

    • Tag changed from notextile, tables to difficult, notextile, tables

    It's a toughie. I've pushed my WIP branch to github.

  • Jason Garber

    Jason Garber June 7th, 2009 @ 06:25 AM

    • Milestone cleared.

    This one's going to have to wait. Mad difficult. Dropping from the milestone.

  • Daniel Martin

    Daniel Martin June 18th, 2014 @ 04:14 AM

    Hi Jason,

    I realise this thread is quite old, but it seems that the problem with pipes in table cells still remains in RedCloth (4.2.9), did you ever get around to looking into it?

    Many thanks,
    Daniel

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.

New-ticket Create new ticket

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

Shared Ticket Bins

People watching this ticket

Pages