Skip to content

test/regression.txt case seems to have been accidentally neutered since cmark fork #312

@vassudanagunta

Description

@vassudanagunta

Looks like the regression test has itself had a regression, most likely due to someone's git/editor/.editorconfig settings stripping extra control chars from ends of line. In the following test case, those control chars are critical:

Issue #113: EOL character weirdness on Windows
(Important: first line ends with CR + CR + LF)
```````````````````````````````` example
line1
line2
.
<p>line1</p>
<p>line2</p>
````````````````````````````````

The change happens here in the history: b6e462f#r103721889

You can also diff against the source:

https://github.com/commonmark/cmark/blob/7195c6735f29be947ddc41f86c9ddfc8621d33b9/test/regression.txt#L3-L12

I will submit a PR shortly.

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