The currency example utiilisingJSoup can lead to some unexpected formatting issues especially with source blocks.
https://github.com/ysb33r/SampleProjects/tree/AsciidocGradleExtention is a reproducible sample. If the extension is removed the embedded Javadoc example renders correctly. If the extension is used the Javadoc renders as a single line.