[wp-trac] Re: [WordPress Trac] #3066: backslash disappears in <pre>
WordPress Trac
wp-trac at lists.automattic.com
Wed Mar 14 05:04:52 GMT 2007
#3066: backslash disappears in <pre>
----------------------------------------------------+-----------------------
Reporter: bzend | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone:
Component: General | Version: 2.0.4
Severity: normal | Resolution:
Keywords: pre, code, backslash, escape, unescape |
----------------------------------------------------+-----------------------
Comment (by johnbillion):
Removing `stripslashes` won't solve this. When the post is displayed on
the blog the speech mark will have an additional backslash in front of it
which is added by `addslashes` before the post is saved to the database.
This needs to be removed by `stripslashes` at some point.
--
Ticket URL: <http://trac.wordpress.org/ticket/3066#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list