[wp-hackers] Preventing magic quotes in pre elements
Matt Mullenweg
m at mullenweg.com
Fri Jul 23 03:46:26 UTC 2004
Eric A. Meyer wrote:
> I've poked around the formatting functions file in an attempt to
> figure out how to prevent magic quoting for the 'pre' element (and,
> while I'm at it, 'code' and related inline elements). I came away with
> an aching head, and no better clue than when I started. Anyone want to
> point me in the right direction?
Is your problem curly quotes or <br />s? There's a check inside texturize
for <pre> and other code type blocks, not sure why it wouldn't be working.
--
Matt Mullenweg
http://photomatt.net | http://wordpress.org
http://pingomatic.com | more soon...
More information about the hackers
mailing list