Textile formatting very buggy
Submitted by Warren Benedetto on Sun, 01/06/2008 - 06:43.
It seems like there are some serious problems with the Textile formatted in messages, mostly when using ordered and unordered lists.
The bulk of the problem is related to indenting. Things that aren't parts of lists are being indented as if they are, and things that are parts of lists aren't being indented or bulleted/numbered.
Any idea if/when this will be fixed? It makes using the messages to write coherent project specs almost impossible.

After setup new release i've lost all textile formatting!
Looking into code at application\helpers\textile.php i found that textile changed to restricted! Why?
Quick solution is to change line
return $textile->TextileRestricted($text);
to
return $textile->TextileThis($text);
I find also that the !image url! code is not working for embedding images, should this fix solve this too?
Will this be default in next releases?
I also noticed this. Only links like "linktext":url seem to work.
Try using:
return $textile->TextileRestricted($text, false);
instead of
return $textile->TextileThis($text);
We used restricted mode to avoid XSS security problems, but I think it's defaulting to 'lite' mode which is the cause of the problems. If people can test that would be great!
Hi miknight,
as far as I can tell, with the very short tests I just did, it seems to work!
Yay!
Tim
OK great. Looks like we'll settle for this line:
return $textile->TextileRestricted($text, false, false);
which will include images as well.
I'll commit this now against this issue:
http://projectpier.org/node/260
Hi miknight,
I've been resisting upgrading from 0.8 to 0.8.0.2 because I found that the latter prevented me from embedding google calendars on the overview page by putting the iframe in the project description. Tim responded to a message once that he thought it was the textile restriction.
At the same time, not having basic textile formatting is killing me since my process is to post a plain text message so it is readable in the email then go back and post the same message with all html tags so it doesn't look dumb on the actual PP site.
I'd love to have functional textile formatting, which I don't have on my PP site now, but I really want the embedded google calendar since that is what I use for the calendar of the projects.
Can I have it all?