Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-10-09 17:10:34

telcontar
Member
Registered: 2007-09-20
Posts: 11

[textile] Everything wrapped in <p> tags

Hi,

I wanted to wrap some textile output in a <div> tag, and I tried using the following code:
<div class="blah">
textile code here
</div>

No matter how I use empty lines or spacing, the <div> tags are wrapped in <p> tags. I can’t seem to get rid of them. Is there a way to fix that, or another way to wrap textile code into a DIV?

thanks,

— telcontar

Offline

#2 2007-10-09 17:12:07

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: [textile] Everything wrapped in <p> tags

Put an space in front of the <div>. That will disable Textile for that block.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#3 2007-10-09 17:26:38

telcontar
Member
Registered: 2007-09-20
Posts: 11

Re: [textile] Everything wrapped in <p> tags

Wow, thanks. I was trying to use <div ...>. Forgot to mention that in my earlier post.

Offline

Board footer

Powered by FluxBB