[wp-hackers] The \ problem in posts

Matthew Thomas mpt at myrealbox.com
Wed Jun 23 21:28:20 UTC 2004


On 24 Jun, 2004, at 7:36 AM, Carthik Sharma wrote:
> ...
> There is a problem with wordpress eating the '\' character wherever it 
> appears in a post.
>
> I was wondering if there is any specific reason why the
> convert_chars() function does not replace the \ character in posts 
> with \ , seeing as wordpress eats all the backslashes in posts? 
> (just like it replaces the & with & )

Why not just fix the bug? People have to put up with & because "&" 
is special -- it begins (X)HTML entities. Why is "\" special?

-- 
Matthew Thomas
http://mpt.net.nz/




More information about the hackers mailing list