mono / ngit

Automated jgit port to c#
261 stars 152 forks source link

<p> in XML documentation comments causes error in IntelliSense #32

Open sharwell opened 12 years ago

sharwell commented 12 years ago

Currently when the documentation is generated for the translated C# code, <p> tags from the javadoc comments are copied as-is to the output. These tags cause Visual Studio's IntelliSense to report an error rather than show useful information in the code completion and hover tips. There are a few possible ways to address this:

  1. By converting these tags to <p/> for the XML comments.
  2. By omitting the tag altogether in the output.
  3. By converting the tag to <br/> or some other tag in the output.
otac0n commented 11 years ago

C# has , right? It should be converted to that, methinks.

sharwell commented 11 years ago

Can you escape the tags with the code... syntax? They aren't showing as-is. :)