From 63db3f7c17167bba351a25c4cc4bd6e0caff7d60 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Thu, 11 Apr 2019 18:35:53 +0200 Subject: [PATCH] Disable escaping special chars in netnames because it creates much more issues than it fixes. Especially the netnames shown on screen are not those living in netlists, breaking net info in Spice, Gerber X2 and IPC356 for instance --- common/string.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/common/string.cpp b/common/string.cpp index cc3ce95a29..7c8ba290cf 100644 --- a/common/string.cpp +++ b/common/string.cpp @@ -59,9 +59,14 @@ wxString EscapeString( const wxString& aSource, ESCAPE_CONTEXT aContext ) } else if( aContext == CTX_NETNAME ) { +// Currently, modifying a netname creates mubh more issues than it fixes. +// Especially the netnames shown on screen are not those living in netlists +// breaking net info in Spice, Gerber X2 and IPC356 for instance +#if 0 if( c == '/' ) converted += "{slash}"; else +#endif converted += c; } else if( aContext == CTX_LIBID )