Markdown Filter not processing Windows files correctly (\r\n)...

Issue #1328 new
jhargrave-straker created an issue

Reproduce by converting test files line breaks for markdown integration (RoundTripMarkdownIT): find . -type f -exec unix2dos {} + Be sure to remove these lines:

// FIXME: These fail with Windows (possibly MAC) newlines
        // MarkdownFilter has problems when handling non-Linux newlines
        addKnownFailingFile("test-html-block-newline.md");
        addKnownFailingFile("html_list_original.md");
        addKnownFailingFile("html_table_changed.md");
        addKnownFailingFile("admonitions.md");
        addKnownFailingFile("html_list_changed.md");
        addKnownFailingFile("html-table-w-empty-lines.md");
        addKnownFailingFile("html_table1_original.md");

Mac \r linebreaks should be tested as well. Linux \n seems to work correctly, despite having updated the parser to handle \r\n and \r

Comments (0)

  1. Log in to comment