From c33ffe7dcd587b6f174d9f40049f43e628926b91 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Thu, 6 Mar 2008 19:03:14 +0000 Subject: Moved line-endings cleanup from transform to convert method so it runs prior to textPreprocessors. Raw HTML with CRLF line endings now works properly. Also added a test. Fixes [1908691]. --- tests/misc/CRLF_line_ends.html | 5 +++++ tests/misc/CRLF_line_ends.txt | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 tests/misc/CRLF_line_ends.html create mode 100644 tests/misc/CRLF_line_ends.txt (limited to 'tests') diff --git a/tests/misc/CRLF_line_ends.html b/tests/misc/CRLF_line_ends.html new file mode 100644 index 0000000..8e6849f --- /dev/null +++ b/tests/misc/CRLF_line_ends.html @@ -0,0 +1,5 @@ +

foo +

+
+bar +
\ No newline at end of file diff --git a/tests/misc/CRLF_line_ends.txt b/tests/misc/CRLF_line_ends.txt new file mode 100644 index 0000000..7d5e324 --- /dev/null +++ b/tests/misc/CRLF_line_ends.txt @@ -0,0 +1,5 @@ +foo + +
+bar +
-- cgit v1.2.3