diff --git a/chant.php b/chant.php
index 66a76ff..0f136fc 100644
--- a/chant.php
+++ b/chant.php
@@ -223,11 +223,15 @@ if(is_string($content)) {
foreach($content as $e) {
if($e[0] == 'gabc') $gabcs[] = $e[1];
}
- echo "
GABC";
- for($i = 0; $i < count($gabcs); $i++) {
- echo '- Element '.($i+1)."
\n";
+ if(count($gabcs) > 1) {
+ echo "- GABC
\n";
+ } else {
+ echo '- GABC
'."\n";
}
- echo "
\n";
}
foreach(array('pdf','svg','eps','png') as $a) {
echo ''.strtoupper($a).''."\n";