[pmwiki-users] custom markup order

noskule noskule at gmx.net
Fri Jul 11 06:48:56 CDT 2008


hi list
I try to build a markup which should be executed after link processing. 
So I process it in the block phase. The problem is, that pmwiki does not 
recognice the markup if it is not in one line. If I process the markup 
in the split phase it works.

Does anyone see the problem?
Thanks for any hints
nos


does work:
(:hide:)XXX XXX(:hideend:)

dont work:
(:hide:)
XXX XXX
(:hideend:)


Markup('hide', 'block',
  '/\\(:hide:\\)(.*?)\\(:hideend:\\)/s',
  "");




More information about the pmwiki-users mailing list