Shorter, but same.

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5564 2fea6a4d-a838-0410-917b-93a53c48e9d2
Sanitize JavaScript values used in dom_attach().

See issue #299

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5565 2fea6a4d-a838-0410-917b-93a53c48e9d2