Do something like this in a <remarks /> block:
<remarks> You should see <something /> here. </remarks>
When this renders, you won't see the word "something" inside the entity markings because they've been decoded and the browser is actually receiving them as literal < and > marks. They should be encoded before being displayed.
Comment #1
Posted on Aug 23, 2008 by Helpful WombatNote that this doesn't seem to happen in blocks. For example, the following
renders properly:
GetObject<T>
Comment #2
Posted on Aug 25, 2008 by Helpful WombatThis, however, doesn't work in code:
'apostrophe'
That code renders as:
'apostrophe'
Comment #3
Posted on Sep 3, 2008 by Helpful Wombat(No comment was entered for this change.)
Comment #4
Posted on Sep 3, 2008 by Helpful WombatValidated that this happens in both the NDoc and Sandcastle preview styles.
Comment #5
Posted on Sep 4, 2008 by Helpful WombatThe fix for this has been committed to the trunk and should be available in the next release. As a side effect of fixing this, issue #16 (Special Unicode characters like German umlaut won't render right) has also been fixed.
Status: Fixed
Labels:
Type-Defect
Priority-High