Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-01-15 17:28:05

mcbenton
Archived Plugin Author
From: Newark, NJ, US
Registered: 2005-05-13
Posts: 7
Website

new bug? strong text in table cells

I just updated from RC1.03 to 4.03.

I have a bunch of tables that have textile markup as follows:

<pre><code>|*bold text*|regular text|</code></pre>

If I leave them alone, they render just fine, but as soon as I update any of these articles the HTML output by textile becomes:

<pre><code>< tr >< td >*bold text*< /td >< td >regular text< /td >< /tr ></code></pre>

If I put a space in between the first pipe and the asterisk then the cell renders correctly, BUT the extra space is included in the table cell, i.e.:

<pre><code>| *bold text*|regular text|</code></pre>

becomes:

<pre><code>< tr >< td > < strong >bold text< /strong >< /td >< td >regular text< /td >< /tr ></code></pre>

I have two questions:

  1. Is this a new quirk of textile that has been added recently?
  2. Can I go back to the old version of textile just by replacing the current classTextile.php file with the one I used in RC1.03?

Thanks,
Morgan

EDIT:

I answered question #2 myself, and the answer is “yes.”

Last edited by mcbenton (2006-01-15 19:31:50)

Offline

#2 2006-01-15 23:42:42

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: new bug? strong text in table cells

Try r1228.


Alex

Offline

#3 2006-01-16 00:17:42

mcbenton
Archived Plugin Author
From: Newark, NJ, US
Registered: 2005-05-13
Posts: 7
Website

Re: new bug? strong text in table cells

That fixed it.

Thanks Zem!

Last edited by mcbenton (2006-01-16 00:18:21)

Offline

#4 2006-01-18 18:01:31

kevinashworth
Member
From: Massachusetts
Registered: 2004-07-30
Posts: 26
Website

Re: new bug? strong text in table cells

I’d love to try r1228, too. What does that mean? Okay, I know what “try” means. It’s the “r1228” that perplexes.

Offline

#5 2006-01-18 18:14:22

mcbenton
Archived Plugin Author
From: Newark, NJ, US
Registered: 2005-05-13
Posts: 7
Website

Re: new bug? strong text in table cells

r1228 is a development build of the latest Textile parser. It is available here:

http://dev.textpattern.com/browser/development/4.0/textpattern/lib/

As with all development builds, they are a use-at-your-own-risk kind of thing.

Use with care. :)

Offline

#6 2006-01-18 18:42:20

kevinashworth
Member
From: Massachusetts
Registered: 2004-07-30
Posts: 26
Website

Re: new bug? strong text in table cells

Thank you. It didn’t solve my problem (Textile issues with italics in table cells, Textile issues with spans not working not in table cells), but I appreciate the pointer.

Last edited by kevinashworth (2006-01-18 18:42:41)

Offline

#7 2006-01-18 21:49:24

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: new bug? strong text in table cells

Kevin,

We don’t know about bugs unless someone reports them. If you’re having problems, please post examples, like Mcbenton did in the first post.


Alex

Offline

Board footer

Powered by FluxBB