[Radiant] Redcloth

Keith Bingman keith at keithbingman.com
Thu Aug 17 09:43:13 CDT 2006


John W. Long wrote:
> 
> Could you give me an example of text that is being interpreted
> incorrectly and the output?
> 
John,

the text is very simple, just a list that should be given out as a 
block:

<p>MI 31.08. digi lounging<br/>
DO 01.09. rive gauche opening party<br/>
FR 02.09. csaba, crying soul production<br/>
SA 03.09. l'un est l'autre, deep'n sexy house</p>

In Textile, it isn't recognizing the breaks, as is usually the case with 
(non-Rails) Textile. It comes out like this:

<p>MI 31.08. digi lounging
DO 01.09. rive gauche opening party
FR 02.09. csaba, crying soul production
SA 03.09. l'un est l'autre, deep'n sexy house </p>

This is an on going problem in Rails, I have read about it before, but 
rarely used Textile in a rails setting. I tried switching to hard breaks 
and and while it did give me the break elements, it did give any p 
elements, except for one big one around the text.

Does that make sense?

-- 
Posted via http://www.ruby-forum.com/.



More information about the Radiant mailing list