The hard_breaks bug is even worse than this, I think.  When you turn on
hard_breaks it totally ignores all block specifiers except the first one
(http://rubyforge.org/pipermail/redcloth-upwards/2006-June/000049.html). 
When hard_breaks is on this:

p. 703.289.3820 *tel*
703.359.0952 *fax*

p. "[EMAIL PROTECTED]":mailto:[EMAIL PROTECTED]

Becomes:

<p>703.289.3820 <strong>tel</strong><br />703.359.0952
<strong>fax</strong><br />
p. <a href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</a></p>

This happens with hn. marks and everything (yikes!).  Downgrading RedCloth
to 3.0.3 seems to fix it, and with hard_breaks you get:

<p>703.289.3820 <strong>tel</strong><br />703.359.0952
<strong>fax</strong></p>

<p><a href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</a></p>

I haven't tried downgrading RedCloth with Radiant, but as far as I can
tell it should work???  The 0.5.2 gem spec depends on RedCloth >= 3.0.3.

I for one would rather not insert <br/> tags all over my mark up.  If I
was gonna do that I'd just do everything in straight HTML.  I like the
simplicity of Textile.


Paul

> ------------------------------
>
> Message: 2
> Date: Thu, 17 Aug 2006 18:59:05 +0200
> From: Keith Bingman <[EMAIL PROTECTED]>
> Subject: Re: [Radiant] Redcloth
> To: radiant@lists.radiantcms.org
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=utf-8
>
> John W. Long wrote:
>> Keith Bingman wrote:
>>> Does that make sense?
>>
>> So to clarify, you give it the following:
>>
>>    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
>>
>> And expect:
>>
>>    <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>
>>
>> But instead get:
>>
>>    <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>
>>
>> ?
>>
>> --
>> John Long
>> http://wiseheartdesign.com
>
> Yes, this is how it usually works in Textile, at least in Textpattern.
> As Dean Allen wrote both, one would expect that that is the way it was
> inteneded to work.
>
> _why seems to have other feelings, but this is how it would ideally work
> for me.
>
>
> Keith Bingman
>
>
> --
> Posted via http://www.ruby-forum.com/.


_______________________________________________
Radiant mailing list
Radiant@lists.radiantcms.org
http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to