Skip to content

Tests from AsciidocRenderTest.java are failing on Windows 11 #834

@wexom

Description

@wexom

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.

Image

top example is expected vs rendered below:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions