Skip to content

Commit

Permalink
some spacing modifications in syntax.php
Browse files Browse the repository at this point in the history
  • Loading branch information
turnermm committed Sep 24, 2019
1 parent 29ca72f commit a1a9e43
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions syntax.php
Expand Up @@ -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) ) {
Expand Down

0 comments on commit a1a9e43

Please sign in to comment.