[pmwiki-users] YAOI (yet another order issue)

Patrick R. Michaud pmichaud at pobox.com
Mon Apr 10 08:20:12 CDT 2006


On Mon, Apr 10, 2006 at 12:52:42PM +0100, Octocias wrote:
>    I was inserting some useful markup elsewhere in code and found the order
>    issue cropping up again.
> 
>    All this test markup would do is insert wiki code '[[<<]]' ... but it
>    won't! It translates it as a LINK to '<<'
> 
>    Markup('breakline', '<_begin', '/\\(:breakline:\\)/', PSS("[[<<]]"));

... because less-than signs ('<') are encoded as "&lt;".

Try:

    Markup('breakline', '<[[<<]]', '/\\(:breakline:\\)/', '[[&lt;&lt;]]');

Pm





More information about the pmwiki-users mailing list