gradle-aggregate-javadocs-plugin icon indicating copy to clipboard operation
gradle-aggregate-javadocs-plugin copied to clipboard

Incorrect report of error on use of '<' in <pre> content

Open massenz opened this issue 8 years ago • 0 comments

Using < inside a <pre> ... </pre> block is allowed and should be permitted; however the plugin complains that this is an error and refuses to generate the javadoc:

error: unknown tag: PBData
     *     Optional<PBDatat> maybeRequest =
                   ^

The snippet of offending javadoc looks something like:

 * <pre>
 *     MyRules rules = ... ;
 *     YourRules others = ... ;
 *
 *     PBData request = getRequest();
 *
 *     Optional<PBData> maybeRequest =
 *          rules.filter(request)
 *               .filter(others.getCompositeRule());
 ...
 * </pre>

massenz avatar May 18 '16 22:05 massenz