[Zope-dev] Structured text <img> html tag not working properly in Zope 2.61

Casey Duncan casey at zope.com
Wed Nov 12 15:00:12 EST 2003


On Wed, 12 Nov 2003 20:43:51 +0100
Max M <maxm at mxm.dk> wrote:

> I have a site with lots of structured text.
> 
> There are many <img src='/some/image'> tags in the texts. But after 
> upgrading from Zope 2.51 to Zope 2.61, I get broken images all over the 
> place.
> 
> Example::
> 
>      <img src='images/kreativ.jpg' align='left'>
> 
> This tag is turned into::
> 
>      <img src="%3Ccode">images/kreativ.jpg align='left'&gt;
> 
> While::
> 
>      <img src="images/kreativ.jpg" align="left">

I think this is because single quotes are used to designate inline preformatted code sections. This causes unintended markup to occur inside image tags containing single quotes.

Maybe you can just mass replace the single quotes with double quotes.

-Casey



More information about the Zope-Dev mailing list