--- dokuwiki-2011-05-25a/lib/plugins/code/syntax.php 2012-01-23 11:16:05.033314469 +1300 +++ dokuwiki/lib/plugins/code/syntax.php 2012-01-23 11:16:19.122156271 +1300 @@ -226,6 +226,8 @@ function &_entities(&$aString) { $aString = str_replace(array('&', '<', '>'), array('&', '<', '>'), $aString); + // [jmt12] Restore the hidden ids to normal HTML comments + $aString = preg_replace('/<!-- id:(.*?) -->/','', $aString); return $aString; } // _entities()