diff --git a/statements/tests/runme-graphviz b/statements/tests/runme-graphviz
index b0d2eb5..98579c5 100755
--- a/statements/tests/runme-graphviz
+++ b/statements/tests/runme-graphviz
@@ -4,7 +4,10 @@
# It creates an HTML file with embedded SVG images.
HTML=graphviz.html
+HTML_SVG=graphviz-svg.html
+
echo "
" > $HTML
+echo "" > $HTML_SVG
FILES=`ls -1 *.brst`
F_NO=`ls -1 *.brst | wc -l`
@@ -16,8 +19,11 @@ for i in $FILES; do
test -s $i.dot && {
dot -Tsvg $i.dot > $i.svg
echo "
" >> $HTML
+ tail -n +7 $i.svg >> $HTML_SVG # remove head
+ echo "
" >> $HTML_SVG
}
done
echo -e "\rDone.\033[0K"
echo "" >> $HTML
+echo "" >> $HTML_SVG