Page 1 of 1

[wontfix] " and '

Posted: Fri Nov 04, 2005 2:28 am
by winkiller
I just realized that if I click on "Media Library" I get something like

Code: Select all

<img width='77' height='110' style="float: left; border: 0px; padding-left: 5px; padding-right: 5px;" src="/uploads/imdb/vanhelsing.thumb.jpg" alt="" />
and when I use URL, I get

Code: Select all

<a href="http://s9y.org"  title="123">S9Y</a>
any reason why there are ' instead of " in the <img tag?

should that be "fixed"?

also before title there are 2 spaces, not to be pedantic - I just stumbled over that today ;)

Re: " and '

Posted: Fri Nov 04, 2005 11:34 am
by garvinhicking
It's an escaping issue. In the one branch of the code some javascript vs. PHP escaping takes place, it's just easier to use ' instead of many \" attributes.

According to HTML, this is perfectly alright.

The 2 spaces are not worth searching for, IMHO. They come because of certain if-constructs where either an attribute is appended, or an empty string...

Best regards,
Garvin