[pmwiki-users] ExtendedMarkup WikiWord Error

John Rankin john.rankin at affinity.co.nz
Wed Mar 30 15:28:22 CST 2005


On Thursday, 31 March 2005 8:25 AM, Stan Ritchie <stan at ritchietribe.net> wrote:
>Hello,
>
>I found the conflict to the below mentioned error. 
>
>I don't know the cause, but when I commented out the following
>statements:
>
>$LinkPageCreateFmt =
>   "<a class='createlinktext' 
>    title='$[page not found - click link to create page]'
>    href='\$PageUrl?action=edit'>\$LinkText</a>
>    <a class='createlink'
>    title='$[page not found - click link to create page]'
>    href='\$PageUrl?action=edit'>?</a>";
>
>all works as expected.

This is a known limitation in how ExtendMarkup handles smart quotes.

In short, if an html tag < ... > breaks across more than 2 lines,
the piece of code that ignores quotes inside < ... > breaks.

The fix is to use "< ... " .
                  " ...  " .
                  " ... >";

Unfortunately, smart quotes currently has to run after styles 
are processed, which is after pmwiki rstores Keep text.

There must be a good solution, but I haven't been able to make
one work.

Hope this helps.


-- 
JR
--
John Rankin






More information about the pmwiki-users mailing list