[pmwiki-users] Markup generating bullet list

Christian Schlatter ch at schlatter.net
Wed Nov 30 23:50:09 CST 2005


I'm writing a markup rule that generates a bulleted list like e.g.

* first
* second
* third

The markup rule returns something like

"* first\n* second\n* third"

and is defined with precedence '<block', but the wiki markup somehow 
doesn't get recognized as a list (only the first item). I suspect the 
newline char is causing the problem.

Example:
Markup('bc', '<block', '/\\(:bc:\\)/', "* first\n* second\n* third");

Thanks for any hint,
ChristianS




More information about the pmwiki-users mailing list