2 comments
Comment actions Permalink

holsky wrote:
Is there a reason why IntelliJ uses <p/> in JavaDocs instead of the standard <p> [1]?

I can't say with certainty since I am not a JetBrains developer, but that option has been there for a long time... and years ago there was a strong push in the industry for all tagging to be XHTML compliant.  A major aspect of that push (and a requirement for XHTML compliance) was that all tags be closed.  So I suspect the reason for the <p/> is due to that trend. It probably got put in that way at some point.

holsky wrote:
how can I change it to comply with my projects coding standards?

It is not currently possible. You may want to vote for the feature request IDEA-118147 Add javadoc formatting option "generate <p> on empty lines" .

0
Comment actions Permalink

Thanks for the link, will vote! :-)

0

Please sign in to leave a comment.