Quote string context only needs to escape double-quotes.
Escaping other things (such as braces) breaks other features (such as text variables). Fixes https://gitlab.com/kicad/code/kicad/issues/6973
This commit is contained in:
parent
e41c06304b
commit
2bf13c6e49
|
@ -102,9 +102,7 @@ wxString EscapeString( const wxString& aSource, ESCAPE_CONTEXT aContext )
|
|||
}
|
||||
else if( aContext == CTX_QUOTED_STR )
|
||||
{
|
||||
if( c == '{' )
|
||||
converted += "{brace}";
|
||||
else if( c == '\"' )
|
||||
if( c == '\"' )
|
||||
converted += "{dblquote}";
|
||||
else
|
||||
converted += c;
|
||||
|
|
Loading…
Reference in New Issue