QuickDocs does not recognize most HTML entity names

The QuickDocs display fails if the XML Documentation contains all but the most common of HTML entity names.  In fact it appears to only recognize the gt and lt entities ( I did not test all of the entity names, but reg, copy, and trade all failed ).  When it does not recognize the entity name fails to render the entire documentation and displays an error message instead.  The only workaround that I have found is that the QuickDocs DO recognize the entity number, using the #xxx format.  This at least allows for the documentation to work as desired but is no longer nearly understandable in the XML Documentation format.

Comment actions Permalink

Hello David
     Thank you for reporting this problem! I've logged it under http://youtrack.jetbrains.com/issue/RSRP-309134 and you're welcome to watch the status of this request.

Andrey Serebryansky

Senior Support Engineer

JetBrains, Inc


"Develop with pleasure!"

Comment actions Permalink

David, standard XML Doc compiler does not allow html entities. For example, for following code

    /// <summary>     /// &copy; 2010     /// </summary>     public ActionResult Login()     {       ...     }

I get error

<?xml version="1.0"?> <doc>     <assembly>         <name>MvcApplication4.5</name>     </assembly>     <members>         <!-- Badly formed XML comment ignored for member "M:MvcApplication4._5.Controllers.AccountController.Login" -->     </members> </doc>

Comment actions Permalink

Ok, I can understand that limitation. (I will need to look into as I could swear that I have used them before.)

However, I think that Resharper still should not throw an exception if I try to use them - instead should not a more apporiate error message should be displayed?

Comment actions Permalink

I think we will show html entites in QuickDoc.
But there is also must be warning in xml docs on such entities.


Please sign in to leave a comment.