#119 ✓resolved
Michael Granger

<notextile> blocks included in following paragrap

Reported by Michael Granger | March 9th, 2009 @ 09:34 AM | in 4.2.0

Somewhere between 4.1.1 and 4.1.9, stopped working:


$ cat notextile_example.textile 
Some text:

<notextile>
<div class="example"><pre>
Some code
</pre></div>
</notextile>

Some more text.

$ redcloth _4.1.1_ notextile_example.textile 
<p>Some text:</p>
<div class="example"><pre>
Some code
</pre></div><p>Some more text.</p>

$ redcloth _4.1.9_ notextile_example.textile 
<p>Some text:</p>
<p><div class="example"><pre><br />
Some code<br />
</pre></div><br />
<br />
Some more text.</p>

It looks like it's including the following paragraph instead of just including what was in the block as-is. Maybe this is related to the fix for #81?

Also, the description of how is supposed to work in the reference is a bit broken. The source doesn't have a closing , and the output has the text that was inside the '==' inline-style notextile span as having been processed anyway.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

RedCloth is a Ruby library for converting Textile into HTML

Shared Ticket Bins

People watching this ticket

Tags

Referenced by

Pages