Asciidoc by default preservers line breaks in paragraphs. While this works fine in confluence server, for confluence cloud it leads to bad formatting due to css styles applied by defaunt - they force preserving line breaks.
According to asciidoc maintainers this is done by intention and the proper way of fixing this - do in custom converter that needs this. See discussion in zulip chat of asciidoc.
Tech details
Looks like solution as simple as massaging content string in paragraph block by replacing new lines with one space
Asciidoc by default preservers line breaks in paragraphs. While this works fine in confluence server, for confluence cloud it leads to bad formatting due to css styles applied by defaunt - they force preserving line breaks.
This issue also exists in confluence publisher: https://github.com/confluence-publisher/confluence-publisher/issues/357
According to asciidoc maintainers this is done by intention and the proper way of fixing this - do in custom converter that needs this. See discussion in zulip chat of asciidoc.
Tech details
Looks like solution as simple as massaging content string in paragraph block by replacing new lines with one space