Page 1 of 1

s9ymarkup: drops \%

Posted: Mon Jan 22, 2007 4:04 pm
by Jtb
I've got a post with a path like c:\Users\%username%

With enabled s9ymarkup it will be rendered to:
c:\Users%username%

Without it's correctly rendered to:
c:\Users\%username%


The following line in serendipity_event_s9ymarkup.php causes this:

Code: Select all

$text = preg_replace('/([\\\])([*#_|^@%])/', '\2', $text);
No fix yet because I don't want to analyse the regexp ;)

Re: s9ymarkup: drops \%

Posted: Mon Jan 22, 2007 4:11 pm
by garvinhicking
Hi!

I generally suggest to disable the s9ymarkup if you plan to use code examples in your entries. :-)

Best regards,
Garvin