diff options
author | Waylan Limberg <waylan@gmail.com> | 2008-03-06 19:03:14 +0000 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2008-03-06 19:03:14 +0000 |
commit | c33ffe7dcd587b6f174d9f40049f43e628926b91 (patch) | |
tree | 01b2fb63495d45118b943f746a4ed6ac2d63d917 /tests | |
parent | c411dd7ee643ae2953997018358e319d16dcef6a (diff) | |
download | markdown-c33ffe7dcd587b6f174d9f40049f43e628926b91.tar.gz markdown-c33ffe7dcd587b6f174d9f40049f43e628926b91.tar.bz2 markdown-c33ffe7dcd587b6f174d9f40049f43e628926b91.zip |
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].
Diffstat (limited to 'tests')
-rw-r--r-- | tests/misc/CRLF_line_ends.html | 5 | ||||
-rw-r--r-- | tests/misc/CRLF_line_ends.txt | 5 |
2 files changed, 10 insertions, 0 deletions
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 @@ +<p>foo +</p> +<div> +bar +</div>
\ 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
+
+<div>
+bar
+</div>
|