//<?php // Begin plugin code $e = &$modx->event; $id = $modx->event->params['id']; if ($e->name == 'OnWebPagePrerender') { $o = &$modx->documentOutput; // get a reference of the output $o = str_replace('/* ].]> */', '/* ]]> */',$o); } $e->output($o); return '';
XML Parsing Error: unclosed CDATA section
//<?php // Begin plugin code $e = &$modx->event; $id = $modx->event->params['id']; if ($e->name == 'OnWebPagePrerender') { $o = &$modx->documentOutput; // get a reference of the output $o = str_replace('/* ].]> */', '/* ]]> */',$o); } $e->output($o); return '';
//<?php