asciidoctor / asciidoclet

:clipboard: A Javadoc Doclet based on Asciidoctor that lets you write Javadoc in the AsciiDoc syntax.
https://github.com/asciidoctor/asciidoclet
Apache License 2.0
132 stars 40 forks source link

Avoid re-using options during conversion #125

Closed abelsromero closed 2 months ago

abelsromero commented 3 months ago

The Asciidoctor's options instance used during conversion is reused and that causes docType to leak between comments and parameters conversions.

See conversation https://github.com/asciidoctor/asciidoclet/pull/124#discussion_r1552490217 for full details.