<img> Problems

Simon Morris simon.morris at cmtww.com
Wed Feb 22 09:43:06 EST 2006


Chris Dolan wrote:

> 
> 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.
> 

Hi Chris - thanks for the reply.

I'll chalk it up to a issue with the serendipity software then - I just 
hit "Insert Media" and it adds the image for me (WYSIWYG editor type thing)

I might have a poke in the PHP and see if I can find where it does that


> 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.

OK - thanks again for your help

~sm


More information about the devel mailing list