Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
[textile] HTML in Textile
I’d like to mix up some HTML and Textile. Seems that this should work, but I keep getting my HTML tags wrap in <p> tags
Entered in article body. For the sake of the example I’ve used code blocks and had remove the empty lines:
<div class="classname">
h3. Title
paragraph
</div>
lorem ipsum
HTML result:
<p><div class="classname"></p>
<h3>Title</h3>
<p>paragraph</p>
<p></div></p>
<p>lorem ipsum</p>
Txp admin themes | dropshado.ws – a blog for design noobs like me
Offline
Re: [textile] HTML in Textile
nemoorange wrote:
I’d like to mix up some HTML and Textile. Seems that this should work, but I keep getting my HTML tags wrap in <p> tags
Simply add a space in front of the lines with html.
<div class="classname">
h3. Title
paragraph
</div>
lorem ipsum
TXP Builders – finely-crafted code, design and txp
Offline
Re: [textile] HTML in Textile
Gah! I hate it when the answer is that simple! Thank you jakob!
Txp admin themes | dropshado.ws – a blog for design noobs like me
Offline
#4 2009-01-26 03:15:02
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [textile] HTML in Textile
You can also use notextile.
notextile. <div class="classname">
h3. Title
paragraph
notextile. </div>
lorem ipsum
That’s my personal preference, as a space could easily be deleted by mistake.
Offline
Pages: 1