[pmwiki-users] markup_e and PSS

John Rankin john.rankin at affinity.co.nz
Sun Feb 2 02:19:40 CST 2014


> John Rankin writes:
>> As far as I can tell from testing, when using Markup_e, it is not
>> necessary
>> to apply the PSS function to matches, because preg_replace_callback does
>> not
>> escape double quotes. However, the markup rules defined in
>> scripts/stdmarkup.php all use PSS in calls to Markup_e.
>
> Yes, this is an omission and I'll fix it ASAP. Thanks! I wonder how we
> didn't
> notice it earlier.
>
>> Should I be removing or retaining the PSS calls when changing from
>> Markup to
>> Markup_e?
>
> You can remove them.

Excellent! Thanks. Markup with a named function also does not need PSS.

JR
-- 
John Rankin




More information about the pmwiki-users mailing list