<img> Problems
Chris Dolan
chris at chrisdolan.net
Wed Feb 22 09:27:42 EST 2006
On Feb 21, 2006, at 4:09 PM, Simon Morris wrote:
> Hello,
>
> I am syndicated to a planet site <http://planet.gllug.org.uk> and I
> have an issue with images in my posts
[snip]
> You can see how the images get broken with HTML tags like "http://
> beerandspeech.org/'http://beerandspeech.org/uploads/200602/
> touchscreen.jpg'"
>
> Is this a known issue with Planet or is the fault with my blog
> software - Serendipity.
>
> Thanks
>
> ~sm
Simon,
It looks like your html attributes are being quoted twice. I believe
the problem is that you are incorrectly using single quotes for
attributes on your blog. Most browsers allow that, but it's not
right. So, the Planet code is trying to clean up your code by
inserting the missing double-quotes.
The best solution is that you should start using double-quotes in
your posts. The second-best solution is that the HTML tidying code
should know to convert single quotes to double quotes in HTML
attributes.
Chris
--
Chris Dolan, Software Developer, http://www.chrisdolan.net/
Public key: http://www.chrisdolan.net/public.key
vCard: http://www.chrisdolan.net/ChrisDolan.vcf
More information about the devel
mailing list