diff --git a/chant.php b/chant.php index 1a232af..d801d6d 100644 --- a/chant.php +++ b/chant.php @@ -297,16 +297,20 @@ if(!$c['copyrighted']) { } if($mode) $gabc .= "annotation: $mode\n"; $gabc .= "%%\n"; + $pure_gabc = ''; if(is_string($content)) { - $gabc .= $content."\n"; + $pure_gabc .= $content."\n"; } elseif(is_array($content)) { foreach($content as $e) { - if($e[0] == 'gabc') $gabc .= $e[1]."\n"; + if($e[0] == 'gabc') $pure_gabc .= $e[1]."\n"; } } - echo '