[Radiant] Line Breaks in Textile

Sean Cribbs seancribbs at gmail.com
Mon Apr 21 13:42:21 CDT 2008


Ben,

RedCloth (the Ruby implementation of Textile) does not necessarily 
follow the Textism version exactly.  If you need <br /> tags, just put 
them in there and it will oblige.

Sean

Ben Morrow wrote:
> Sorry if this question doesn't belong here, but I figured one of you
> guys might know the answer.
>
> I just set up a fresh 0.66 installation and am using Textile to format
> the pages I write.
>
> Everything is working wonderfully except that line breaks do not
> generate "<br />" tags. Instead, they simply make a new line in the HTML
> code. Example:
>
> Paragraph one.
>
> Paragraph
> two.
>
> ...should render:
> <p>Paragraph one</p>
> <p>Paragraph<br />two</p>
>
> ...instead, it renders:
> <p>Paragraph one</p>
> <p>Paragraph
> two</p>
>
> Is this a recent change in Textile or something Radiant-specific? On the
> "Textile Tryout" page (http://www.textism.com/tools/textile/index.php)
> it DOES insert the "<br />" tag. However on the "Textile Reference" page
> (http://hobix.com/textile/) under "Line Breaks", the author seems to say
> that "<br />" is no longer part of the functionality.
>
> Have any of you guys had problems with this?
>   



More information about the Radiant mailing list