diff --git a/syntax.php b/syntax.php index b49da8a..76a4d18 100644 --- a/syntax.php +++ b/syntax.php @@ -78,11 +78,10 @@ function handle($match, $state, $pos, Doku_Handler $handler){ $this->macros = $this->get_macros(); if(preg_match('/(.*?)~([\s\S]+)~$/',$match,$subtitution)) { - $match=$subtitution[1]; + $match=$subtitution[1]; $subtitution[2] = str_replace('\\,',',',$subtitution[2]); - $substitutions=explode(',',$subtitution[2]); - $substitutions = preg_replace('#\/\/.+#',"",$substitutions); - // msg(htmlentities(implode(',',$substitutions))); + $substitutions=explode(',',$subtitution[2]); + $substitutions = preg_replace('#\/\/.+#',"",$substitutions); } if(!array_key_exists($match, $this->macros) ) {