[pmwiki-devel] Stopping additional markup being applied

Petko Yotov 5ko at 5ko.fr
Thu Aug 13 19:27:29 CDT 2009


On Thursday 13 August 2009 23:21:53 Simon wrote:
> Markup( 'chordpro', 'fulltext', "/\\|\\|:(.*):\\|\\|/seim",
>     "ChordPro_Parse(explode(\"\n\",PSS('$1')))" );
>
> The recipe scans a bunch of lines between the markup ||: and :||
> and processes its own internal markup.
> It generates and returns html.
>
> How do I stop other markup being applied to the generated html

Wrap the output with the Keep() function:
  "Keep(ChordPro_Parse(whatever))"

Petko




More information about the pmwiki-devel mailing list