Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2007-05-21 05:38:09
- Logoleptic
- Plugin Author

- From: Kansas, USA
- Registered: 2004-02-29
- Posts: 482
article_image strangeness
I’m not sure if this is a Textile bug or Textpattern tag bug, so I’m posting it here. If I need to resubmit this via the official Textile page, let me know.
Putting this in the body of an article:
p. <txp:article_image class="imgright" />Web pages are written using a computer language
called HTML(Hypertext Markup Language) (or its "identical cousin(Kind of like Kathy and Patty from
"The Patty Duke Show")":http://www.imdb.com/title/tt0056778/plotsummary XHTML(eXtensible
Hypertext Markup Language)). These are "descriptive markup languages(Descriptive Markup
Language - Wikipedia)":http://en.wikipedia.org/wiki/Markup_language#Descriptive_markup, which
means they describe the contents of the page in a way that computers can interpret. Many websites
use these languages inefficiently, which interferes with a search engine's ability to index a page.
…produces the following markup:
<p><txp:article_image class=“imgright<a href="http://www.imdb.com/title/tt0056778/plotsummary"
title="or its "identical cousin(Kind of like Kathy and Patty from "The Patty Duke Show""> />Web
pages are written using a computer language called <acronym title="Hypertext Markup
Language">HTML</acronym></a> <acronym title="eXtensible Hypertext Markup
Language">XHTML</acronym>). These are <a href="http://en.wikipedia.org/wiki/Markup_language#Descriptive_markup"
title="Descriptive Markup Language - Wikipedia">descriptive markup languages</a>, which means
they describe the contents of the page in a way that computers can interpret. Many websites use
these languages inefficiently, which interferes with a search engine’s ability to index a page.</p>
…and an error message at the top of the page, complaining about abuse of <txp:article_image />.
The same thing happens if I manually wrap the paragraph in <p>...</p>. The only way I was able to fix it was replacing the Textile link for the Patty Duke Show reference with an HTML link.
Offline
Re: article_image strangeness
I think the problem is here:
"identical cousin(Kind of like Kathy and Patty from
"The Patty Duke Show")"
The quotes between The Patty Duke Show are playing bad with the Textile parser.
Maybe you can try removing them or changing them to simple quotes:
"identical cousin(Kind of like Kathy and Patty from
'The Patty Duke Show')"
Offline
#3 2007-05-22 00:42:58
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: article_image strangeness
Or enter entities yourself:
"identical cousin(Kind of like Kathy and Patty from “The Patty Duke Show”)":http://www.imdb.com/title/tt0056778/plotsummary
Offline
Pages: 1