From 52e9f43db8d2ba4e5b6a1aa70d10ab773353821d Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 2 May 2022 09:52:56 +0100 Subject: [PATCH] dice: d6: image: Put comment at the end usvg seems to hate it at the start. Signed-off-by: Ian Jackson --- dice/extract-image-only | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dice/extract-image-only b/dice/extract-image-only index 5a9ddb9d..9a181eb5 100755 --- a/dice/extract-image-only +++ b/dice/extract-image-only @@ -10,8 +10,6 @@ use Data::Dumper; my $dom = XML::LibXML->load_xml(IO => \*STDIN) or die; -print "\n" or die $!; - my $nodes = $dom->findnodes('//*[@inkscape:label]'); foreach my $node (@$nodes) { my $l = $node->getAttribute('inkscape:label'); @@ -21,3 +19,5 @@ foreach my $node (@$nodes) { } print $dom->toString or die $!; + +print "\n" or die $!; -- 2.30.2