Author Topic: javadoc html escaping for generic types  (Read 546 times)


  • Community Member
  • Posts: 79
  • Hero Points: 2
javadoc html escaping for generic types
« on: July 13, 2017, 02:25:52 pm »
Is there a way to get the generated javadoc to use html escaping for generic return and argument types?

Currently, if I have a method that returns a List<String> the generated javadoc has:
     * @return List<String>

But this is illegal javadoc. The less than and greater than characters need to be escaped. It should look like:
     * @return List&lt;String&gt;

The expansion currently uses: %\r for the return type. Is there some other expansion that could be used to produce legal javadoc?


  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2555
  • Hero Points: 380
Re: javadoc html escaping for generic types
« Reply #1 on: July 18, 2017, 02:41:03 pm »
That is a good suggestion.  I am filing a bug report to fix this in the future.