Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2006-01-31 08:22:41
- Logoleptic
- Plugin Author
- From: Kansas, USA
- Registered: 2004-02-29
- Posts: 482
"==" and <notextile> producing wacky results
What I want to have in my article body is this:
<pre><code><div class=“page-toc”>
<h3>On this Page</h3>
<ul>
<li>Directions to the Inn by Road</li>
<li>Directions to the Inn from the Airport</li>
<li>Directions to the Inn from Major Tucson Hospitals</li>
<li>Directions to Nearby Conveniences and Entertainments</li>
</ul>
</div></code></pre>
But when I use “==” or < notextile ></ notextile >
to escape the HTML, I get this instead:
<pre><code><p><br />
&#60;div class&#61;&#34;page&#45;toc&#34;&#62;<br />
&#60;h3&#62;On this Page&#60;/h3&#62;</p>
Will I have to have to turn off textile for the whole article body (and it’s a long one) just to get this little part to work right?
Offline
#2 2006-02-14 01:17:06
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: "==" and <notextile> producing wacky results
Get rid of the blank line and just include the raw HTML as-is. Textile should leave it alone.
Alex
Offline
#3 2006-02-14 19:48:47
- Logoleptic
- Plugin Author
- From: Kansas, USA
- Registered: 2004-02-29
- Posts: 482
Re: "==" and <notextile> producing wacky results
Thanks, zem. I’ll give that a try in my localhost-ed version of the site this evening. Meanwhile, the live version is taking care of the problem with a suggestion from the TextDrive forums.
Offline
#4 2006-02-15 23:12:55
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Offline
#5 2006-02-16 01:16:39
- Logoleptic
- Plugin Author
- From: Kansas, USA
- Registered: 2004-02-29
- Posts: 482
Re: "==" and <notextile> producing wacky results
Good info. Thanks.
Offline