Skip to content

Commit 48929ea

Browse files
authored
Fix escaped XML characters (#8565)
Fixes #7776
1 parent 6c5eb53 commit 48929ea

File tree

1 file changed

+1
-1
lines changed
  • snippets/csharp/System.Xml/XmlElement/InnerText

1 file changed

+1
-1
lines changed

snippets/csharp/System.Xml/XmlElement/InnerText/source.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ public static void Main() {
3636
// some textmore text
3737
// Display the InnerXml of the element...
3838
// some text<child />more text
39-
// <elem>Text containing &lt;markup/&gt; will have char(&lt;) and char(&gt;) escaped.</elem>
39+
// <elem>Text containing &amp;lt;markup/&amp;gt; will have char(&amp;lt;) and char(&amp;gt;) escaped.</elem>
4040
// <elem>Text containing <markup />.</elem>
4141
// </Snippet1>

0 commit comments

Comments
 (0)