[pmwiki-users] A fix for Wikiwords and style identifiers bug and workaround
John Rankin
john.rankin at affinity.co.nz
Thu Aug 10 00:42:24 CDT 2006
On Thursday, 10 August 2006 2:19 PM, John Rankin <john.rankin at affinity.co.nz> wrote:
>On Thursday, 10 August 2006 12:07 PM, Pico <pmwiki at ben-amotz.com> wrote:
>><snip>
>>
>>Markup entered:
>>
>> >>id='`MyDiv'<<
>>1
>> >><<
>> >>id='My`Div'<<
>>2
>> >><<
>> >>id=`'MyDiv'<<
>>3
>> >><<
>> >>id=`MyDiv<<
>>4
>> >><<
>> >>`MyDiv<<
>>5
>> >><<
>> >> `MyDiv<<
>>6
>> >><<
>>
>>Displayed results:
>>
><snip>
If you look in scripts/stdmarkup.php and look for the
escape wikiwords rule, changing Keep('$1') to
Keep('$1','L') will result in `MyID being escaped *and*
restored in time for styles to apply.
The following will then work as desired:
>>id='`MyDiv'<<
>>id=`MyDiv<<
>>`MyDiv<<
>> `MyDiv<<
--
JR
--
John Rankin
More information about the pmwiki-users
mailing list