[pmwiki-users] bug in commentbox
Hans
design at softflow.co.uk
Thu Mar 23 06:04:00 CST 2006
Thursday, March 23, 2006, 10:30:55 AM, Hans wrote:
> Any idea how to prevent this?
I found one possible answer:
Before the page text gets added to the post text
all backslashes in th etext gets doubled, so later they can be
stripped out again by HandleEdit srripmagic.
I added one line of code to achieve this:
$page['text'] = str_replace("\\","\\\\",$page['text']);
Comments?
Best,
Hans
More information about the pmwiki-users
mailing list