Browse Source

Fix handling of "{" in string values

pull/690/head
jogibear9988 10 years ago
parent
commit
848365cc7d
  1. 2
      src/AddIns/DisplayBindings/WpfDesign/WpfDesign.XamlDom/Project/XamlTextValue.cs

2
src/AddIns/DisplayBindings/WpfDesign/WpfDesign.XamlDom/Project/XamlTextValue.cs

@ -48,6 +48,8 @@ namespace ICSharpCode.WpfDesign.XamlDom @@ -48,6 +48,8 @@ namespace ICSharpCode.WpfDesign.XamlDom
internal XamlTextValue(XamlDocument document, string textValue)
{
this.document = document;
if (textValue.StartsWith("{"))
textValue = "{}" + textValue;
this.textValue = textValue;
}

Loading…
Cancel
Save