diff --git a/lib/marked.js b/lib/marked.js index 9156bf38..346a047d 100644 --- a/lib/marked.js +++ b/lib/marked.js @@ -55,7 +55,7 @@ block.paragraph = (function() { ('heading') ('lheading') ('blockquote') - ('<' + tag()) + ('<' + tag() + '[\\s>]') ('def'); return new diff --git a/test/new/autolink_lines.html b/test/new/autolink_lines.html new file mode 100644 index 00000000..aa2bed4d --- /dev/null +++ b/test/new/autolink_lines.html @@ -0,0 +1,3 @@ +
hello world +http://example.com +
diff --git a/test/new/autolink_lines.text b/test/new/autolink_lines.text new file mode 100644 index 00000000..c9b61a2c --- /dev/null +++ b/test/new/autolink_lines.text @@ -0,0 +1,2 @@ +hello world +hello world +http://example.com +
diff --git a/test/tests/autolink_lines.text b/test/tests/autolink_lines.text new file mode 100644 index 00000000..c9b61a2c --- /dev/null +++ b/test/tests/autolink_lines.text @@ -0,0 +1,2 @@ +hello world +