On Thu, Oct 30, 2008 at 5:12 PM, Joe Van Dyk <[EMAIL PROTECTED]> wrote:
> On Thu, Oct 30, 2008 at 5:07 PM, Joe Van Dyk <[EMAIL PROTECTED]> wrote:
>> On Thu, Oct 30, 2008 at 4:41 PM, Tim Gossett <[EMAIL PROTECTED]> wrote:
>>> On Thu, Oct 30, 2008 at 6:09 PM, Joe Van Dyk <[EMAIL PROTECTED]> wrote:
>>>
>>>> Given the following snippet (using the textile filter):
>>>>
>>>> <div class='section'>
>>>>  <div class='section-content'>
>>>> <r:yield />
>>>>  </div>
>>>> </div>
>>>>
>>>> When I try to use the snippet like so (inside a page part that uses
>>>> textile):
>>>>
>>>> <r:snippet name="subsection" title="More about PSRC">
>>>> # first
>>>> # second
>>>> </r:snippet>
>>>>
>>>> The list doesn't get formatted as textile -- I see "# first # second"
>>>> on the page instead of the expected html numbered list.
>>>>
>>>> Any ideas?
>>>
>>>
>>> Whitespace matters to Textile. Try this:
>>>
>>> <r:snippet name="subsection" title="More about PSRC">
>>>
>>> # first
>>> # second
>>>
>>> </r:snippet>
>>
>> Didn't seem to work.
>
> Ok, this is odd.
>
> If the snippet internal is like this, the first ordered list works,
> and the last one doesn't.
>
> # link one
> # line two
>
> * line one
>
>
> If the snippet internal is like this, the first two lists work, and
> the last one doesn't.
>
> # link one
> # line two
>
> * line one
>
> # link three
> # link four
>
>
> Not sure what's going on.
>

This works:

<r:snippet name="stuff">

* list one
* list two

&nbsp;
</r:snippet>

So, if there's anything after the list, then the list will render correctly.
_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to