I wanted to use CMarkdown. But I get the following Exception message:
preg_replace_callback(): Compilation failed: POSIX collating elements are not supported at offset 131
I read something about a problem with newer php versions. Not sure if this is correct.
I tried the following variants:
$this->beginWidget('CMarkdown', array('purifyOutput'=>true));
echo $content;
$this->endWidget();
$markdown = new CMarkdown;
$markdown->purifyOutput = true;
echo $Markdown->transform($content);
Does the $content need the have certain initialising characters?