Skip to content

Newlines are not possible to be encoded #66

@def-

Description

@def-

Newlines in the message of a junit_report::TestCase::failure() are stored in the XML as straight newlines. When parsing the XML (for example with python-junit-xml) they are automatically stripped. Instead the newline should be encoded as 
.

As a workaround I tried &error.to_string().replace("\n", "
"), but the 
 is then encoded as 


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions