Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Inserting HTML code into an article... how?
You want to display HTML code, or input HTML directy?
For the first, try the bc.
and bc..
block modifier.
For the second, there are numerous possibilities:
- Just input it directly, Textile doesn’t replace HTML it exists alongside
- Use
<notextile> </notextile> pair inline tag # Use
notextile.@ andnotextile..
block tag - Disable Textile for the one article, in it’s advanced prefs
Offline
Re: Inserting HTML code into an article... how?
Somewhere I read that putting a space at the begining of a line causes textile to leave that line as is. This works very well for small things like putting a horizontal rule in your article.
I’ve never really tried it out with huge blocks of HTML so your milage might vary.
If this doesn’t work you could put your html in a textpattern form and use the output_form inside your textiled article to output your untextiled html code.
Offline
Re: Inserting HTML code into an article... how?
Starting with a space omits the <p>
formatting that block of text using <br />
s
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline