-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
Pri3Indicates issues/PRs that are low priorityIndicates issues/PRs that are low priorityarea-System.Xmldoc-bugProblem with the content; needs to be fixedProblem with the content; needs to be fixedhelp wantedGood for community contributors to help [up-for-grabs]Good for community contributors to help [up-for-grabs]
Description
In https://docs.microsoft.com/en-us/dotnet/api/system.xml.xmlelement.innertext the output in the comment of the example code is incorrect. (It appears that it's necessary to double-escape the & character.)
Existing code:
// <elem>Text containing <markup/> will have char(<) and char(>) escaped.</elem>
Correct:
// <elem>Text containing <markup/> will have char(<) and char(>) escaped.</elem>
Metadata
Metadata
Assignees
Labels
Pri3Indicates issues/PRs that are low priorityIndicates issues/PRs that are low priorityarea-System.Xmldoc-bugProblem with the content; needs to be fixedProblem with the content; needs to be fixedhelp wantedGood for community contributors to help [up-for-grabs]Good for community contributors to help [up-for-grabs]