[pmwiki-users] Markup expression problem with "<"

Patrick R. Michaud pmichaud at pobox.com
Thu Dec 15 14:21:46 CST 2005


On Thu, Dec 15, 2005 at 01:29:20PM -0600, JB wrote:
> Trying to use the markup function but the "<" character doesnt work.
> My friend who is a regular expression guru suggested this might be a
> bug.
> 
> Have tried the following:
> 
>   Markup('cellnrc', 'fulltext', '/cell<c/' , 'cellnr align=center');
>   Markup('cellnrc', 'fulltext', '/cell\<c/' , 'cellnr align=center');
>   Markup('cellnrc', 'fulltext', '/cell[<]c/' , 'cellnr align=center');
>   Markup('cellnrc', 'fulltext', '/cell[\<]c/' , 'cellnr align=center');

PmWiki converts all angle brackets into HTML entities prior to
markup processing.  Thus the above should probably read:

    Markup('cellnrc', 'fulltext', '/cell&lt;c/' , 'cellnr align=center');

Pm




More information about the pmwiki-users mailing list