mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-21 08:41:41 +00:00
Contain the unescaped netnames to XML output
Kicad netlists branch off the xml, so keep their output stable. Only use XML-based escaping for XML files
This commit is contained in:
parent
97787778eb
commit
6769efc807
@ -767,9 +767,12 @@ XNODE* NETLIST_EXPORTER_XML::makeListOfNets( unsigned aCtl )
|
||||
|
||||
for( const auto& [ key, subgraphs ] : m_schematic->ConnectionGraph()->GetNetMap() )
|
||||
{
|
||||
wxString net_name = UnescapeString( key.Name );
|
||||
wxString net_name = key.Name;
|
||||
NET_RECORD* net_record = nullptr;
|
||||
|
||||
if( !( aCtl & GNL_OPT_KICAD ) )
|
||||
net_name = UnescapeString( net_name );
|
||||
|
||||
if( subgraphs.empty() )
|
||||
continue;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user