By: Sheepy
Date: 2006-06-28
Time: 12:08
|
Single quote not converted by htmlconvSince I prefer single quote over double quote in HTML, I frequently encounter this problem: single quotes in fields are not converted to ' even if htmlconv is on, abruptly closing attributes.
It can be solved by adding ENT_QUOTES at line 2162 in tbs_class.php |
By: Skrol29
Date: 2006-06-28
Time: 12:47
|
Re: Single quote not converted by htmlconvHi Sheepy,
It has be donne this way because double quote is the attribute's delimiter recommended for HTML 4 and required for XHTML and XML. Those recommandation/requirement are useful because CSS string delimiters are single quotes. Javascript still accepts both (') and (""). Attribute names should be lowercase. http://www.w3.org/TR/1999/WD-xml-c14n-19991115.html#Attributes http://www.w3.org/TR/xml-c14n#Terminology http://www.w3.org/TR/2004/CR-CSS21-20040225/about.html#q4 |