From 1c5cb947c12ee2c40808f40026058d7bf5248358 Mon Sep 17 00:00:00 2001
From: Jean-Samuel Reynaud <js.reynaud@gmail.com>
Date: Tue, 12 Feb 2019 10:47:06 +0100
Subject: [PATCH] Fix group tag for SVG plotting

This was previously "svg:g", but the SVG is declared with only
a "default" namespace, not an "svg:" namespace (looks like
xmlns:svg="http://www.w3.org/2000/svg" in the svg tag).

This means you cannot use svg: as a NS in the document. It's not
needed anywaY: the default is already correct.

Moreover, mismatching <svg:g> and </g> is always invalid.
---
 common/plotters/SVG_plotter.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/plotters/SVG_plotter.cpp b/common/plotters/SVG_plotter.cpp
index 2b2dc8dcb5..69139ef537 100644
--- a/common/plotters/SVG_plotter.cpp
+++ b/common/plotters/SVG_plotter.cpp
@@ -292,7 +292,7 @@ void SVG_PLOTTER::StartBlock( void* aData )
 {
     std::string* idstr = reinterpret_cast<std::string*>( aData );
 
-    fputs( "<svg:g ", outputFile );
+    fputs( "<g ", outputFile );
     if( idstr )
         fprintf( outputFile, "id=\"%s\"", idstr->c_str() );