Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: XML and HTML in articles
jwpadgett wrote:
TXP shouldn’t care when I’ve specified “Leave text alone.”
And that is exactly what it does ;) The code won’t show up, because it is unescaped HTML markup. If you want to show the source code as text, you need to escape it. As you set “Leave text alone.”, you need to do it by yourself with out Textile.
the HTML elements and the user agent will handle how I want my content displayed. […] I’m not trying to be difficult, I just expected the system to behave as specified.
HTML pre tag’s specs do not include escaping nor code rendering, it just displays whitespace.
Offline
#14 2010-04-25 20:54:00
- jwpadgett
- Member
- Registered: 2008-03-20
- Posts: 11
Re: XML and HTML in articles
I stand corrected. …pulling foot from mouth ;)
I had in my head that <code>
or <pre>
would not interpret my tags, but your right, the spec does not say they should.
Thanks for setting me straight!
Offline