mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-14 14:09:35 +00:00
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.
This commit is contained in:
parent
7b3ef1b7ed
commit
1c5cb947c1
@ -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() );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user