Environment:
OS: Windows 11
Issue:
There is an inconsistency in AsciidocRender.java regarding line endings. In some places \n is used directly for new lines, while in other places System.lineSeparator() or %n is used. This leads to inconsistent output depending on the operating system (e.g., \n on Unix vs. \r\n on Windows), which causes test failures and makes the output platform-dependent.
top example is expected vs rendered below:

Environment:
OS: Windows 11
Issue:
There is an inconsistency in
AsciidocRender.javaregarding line endings. In some places\nis used directly for new lines, while in other placesSystem.lineSeparator()or%nis used. This leads to inconsistent output depending on the operating system (e.g.,\non Unix vs.\r\non Windows), which causes test failures and makes the output platform-dependent.top example is expected vs rendered below: