[wp-trac] Re: [WordPress Trac] #7648: js_escape() wrongly escapes
too many characters
WordPress Trac
wp-trac at lists.automattic.com
Wed May 6 02:46:46 GMT 2009
#7648: js_escape() wrongly escapes too many characters
--------------------------+-------------------------------------------------
Reporter: Viper007Bond | Owner: anonymous
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.8
Component: General | Version: 2.6.1
Severity: normal | Keywords: needs-patch
--------------------------+-------------------------------------------------
Comment(by Viper007Bond):
Replying to [comment:2 Denis-de-Bernardy]:
> mmm... recently, I got a validation error due to the fact that one of my
scripts contained < rather than <, and " rather than " in a
string. Maybe double check the facts, at least on quote chars?
This is because you didn't use CDATA or similiar, which you need to use to
ensure validation.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/7648#comment:7>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list