diff --git a/dist/showdown.js b/dist/showdown.js index 5f8e155..d94c5fe 100644 Binary files a/dist/showdown.js and b/dist/showdown.js differ diff --git a/dist/showdown.js.map b/dist/showdown.js.map index 7dc755d..6f1cf4f 100644 Binary files a/dist/showdown.js.map and b/dist/showdown.js.map differ diff --git a/dist/showdown.min.js b/dist/showdown.min.js index 3d3d5ca..093ff64 100644 Binary files a/dist/showdown.min.js and b/dist/showdown.min.js differ diff --git a/dist/showdown.min.js.map b/dist/showdown.min.js.map index 283e7a6..401fca0 100644 Binary files a/dist/showdown.min.js.map and b/dist/showdown.min.js.map differ diff --git a/src/subParsers/lists.js b/src/subParsers/lists.js index 6df1f08..1278bfc 100644 --- a/src/subParsers/lists.js +++ b/src/subParsers/lists.js @@ -112,7 +112,7 @@ showdown.subParser('lists', function (text, options, globals) { var pos = txt.search(counterRxg); if (pos !== -1) { // slice - result += '\n\n<' + listType + '>' + processListItems(txt.slice(0, pos), !!trimTrailing) + '' + listType + '>\n\n'; + result += '\n<' + listType + '>' + processListItems(txt.slice(0, pos), !!trimTrailing) + '' + listType + '>\n'; // invert counterType and listType listType = (listType === 'ul') ? 'ol' : 'ul'; @@ -121,14 +121,14 @@ showdown.subParser('lists', function (text, options, globals) { //recurse parseCL(txt.slice(pos)); } else { - result += '\n\n<' + listType + '>' + processListItems(txt, !!trimTrailing) + '' + listType + '>\n\n'; + result += '\n<' + listType + '>' + processListItems(txt, !!trimTrailing) + '' + listType + '>\n'; } })(list); for (var i = 0; i < subLists.length; ++i) { } } else { - result = '\n\n<' + listType + '>' + processListItems(list, !!trimTrailing) + '' + listType + '>\n\n'; + result = '\n<' + listType + '>' + processListItems(list, !!trimTrailing) + '' + listType + '>\n'; } return result; diff --git a/src/subParsers/paragraphs.js b/src/subParsers/paragraphs.js index 25bec4a..5ab37ea 100644 --- a/src/subParsers/paragraphs.js +++ b/src/subParsers/paragraphs.js @@ -58,7 +58,7 @@ showdown.subParser('paragraphs', function (text, options, globals) { } grafsOut[i] = grafsOutIt; } - text = grafsOut.join('\n\n'); + text = grafsOut.join('\n'); // Strip leading and trailing lines: text = text.replace(/^\n+/g, ''); text = text.replace(/\n+$/g, ''); diff --git a/test/cases/blockquote-followed-by-code.html b/test/cases/blockquote-followed-by-code.html index 5cae32b..0f48cab 100644 --- a/test/cases/blockquote-followed-by-code.html +++ b/test/cases/blockquote-followed-by-code.html @@ -2,12 +2,9 @@
a blockquote with a 4 space indented line (not code)
-sep
--a blockquote
with some code after
diff --git a/test/cases/blockquote-inside-code.html b/test/cases/blockquote-inside-code.html
index 038924a..b46311f 100644
--- a/test/cases/blockquote-inside-code.html
+++ b/test/cases/blockquote-inside-code.html
@@ -1,9 +1,7 @@
> this is a pseudo blockquote
> inside a code block
-
foo
-> this is another bq
inside code
diff --git a/test/cases/blockquote-nested-markdown.html b/test/cases/blockquote-nested-markdown.html
index 4e92825..ff8791d 100644
--- a/test/cases/blockquote-nested-markdown.html
+++ b/test/cases/blockquote-nested-markdown.html
@@ -1,14 +1,11 @@
diff --git a/test/cases/blockquote.html b/test/cases/blockquote.html index c74d3f6..0b47c63 100644 --- a/test/cases/blockquote.html +++ b/test/cases/blockquote.html @@ -1,5 +1,4 @@This is a header.
--
- This is the first list item.
- This is the second list item.
Here's some example code:
-return shell_exec("echo $input | $markdown_script");
diff --git a/test/cases/code-block-html-escape.html b/test/cases/code-block-html-escape.html index 028f874..770e126 100644 --- a/test/cases/code-block-html-escape.html +++ b/test/cases/code-block-html-escape.html @@ -1,4 +1,3 @@This is a multi line blockquote test
-With more than one line.
This is some HTML:
-<h1>Heading</h1>
diff --git a/test/cases/code-block.html b/test/cases/code-block.html
index 3e56099..56bc5d0 100644
--- a/test/cases/code-block.html
+++ b/test/cases/code-block.html
@@ -1,4 +1,3 @@
This is a normal paragraph:
-This is a code block.
diff --git a/test/cases/emphasis.html b/test/cases/emphasis.html
index e33c510..6ced7c6 100644
--- a/test/cases/emphasis.html
+++ b/test/cases/emphasis.html
@@ -1,66 +1,34 @@
single asterisks
-single underscores
-double asterisks
-double underscores
-text with italic sentence in middle
-text with bold sentence in middle
-text with bold text that spans across multiple lines
-underscored_word
-doubleunderscore__word
-asterix*word
-doubleasterix**word
-line with_underscored word
-line with__doubleunderscored word
-line with*asterixed word
-line with**doubleasterixed word
-some linewithinner underscores
-some linewithinner double underscores
-some linewithinner asterixs
-some linewithinner double asterixs
-another line with just _one underscore
-another line with just __one double underscore
-another line with just *one asterix
-another line with just **one double asterix
-a sentence withunderscore and anotherunderscore
-a sentence withdoubleunderscore and anotherdoubleunderscore
-a sentence withasterix and anotherasterix
-a sentence withdoubleasterix and anotherdoubleasterix
-escaped word_with_underscores
-escaped word__with__double underscores
-escaped word_with_single italic underscore
-escaped word*with*asterixs
-escaped word**with**asterixs
-escaped word*with*bold asterixs
diff --git a/test/cases/escaping.html b/test/cases/escaping.html index 1ac6a29..80a0ddb 100644 --- a/test/cases/escaping.html +++ b/test/cases/escaping.html @@ -1,31 +1,16 @@These should all be escaped:
-\
-`
-*
-_
-{
-}
-[
-]
-(
-)
-#
-+
--
-.
-!
diff --git a/test/cases/github-style-at-start.html b/test/cases/github-style-at-start.html index 5cfec09..79c0044 100644 --- a/test/cases/github-style-at-start.html +++ b/test/cases/github-style-at-start.html @@ -2,5 +2,4 @@ // ... } -That is some code!
diff --git a/test/cases/github-style-codeblock-inside-quote.html b/test/cases/github-style-codeblock-inside-quote.html index 85fa51c..2800050 100644 --- a/test/cases/github-style-codeblock-inside-quote.html +++ b/test/cases/github-style-codeblock-inside-quote.html @@ -1,14 +1,11 @@Define a function in javascript:
--function MyFunc(a) { var s = '`'; }
diff --git a/test/cases/github-style-codeblock.html b/test/cases/github-style-codeblock.html index 8d593ae..4dc42a2 100644 --- a/test/cases/github-style-codeblock.html +++ b/test/cases/github-style-codeblock.html @@ -1,11 +1,8 @@And some nested quote
-<div>HTML!</div>
Define a function in javascript:
--function MyFunc(a) { var s = '`'; }
And some HTML
-diff --git a/test/cases/horizontal-rules.html b/test/cases/horizontal-rules.html index aaef23e..52f2479 100644 --- a/test/cases/horizontal-rules.html +++ b/test/cases/horizontal-rules.html @@ -1,9 +1,5 @@<div>HTML!</div>
-
-
-
-
diff --git a/test/cases/html-comments.html b/test/cases/html-comments.html index 865f2e5..37fa245 100644 --- a/test/cases/html-comments.html +++ b/test/cases/html-comments.html @@ -1,14 +1,8 @@ - -words words
- -words
- -diff --git a/test/cases/html-inside-listed-code.html b/test/cases/html-inside-listed-code.html index 3a1e09b..31001d9 100644 --- a/test/cases/html-inside-listed-code.html +++ b/test/cases/html-inside-listed-code.html @@ -1,6 +1,5 @@<!-- comment -->
list item 1
--<a href="www.google.com">google</a> <div> <div>some div</div> diff --git a/test/cases/html5-strutural-tags.html b/test/cases/html5-strutural-tags.html index 5b351d3..f054d42 100644 --- a/test/cases/html5-strutural-tags.html +++ b/test/cases/html5-strutural-tags.html @@ -1,26 +1,16 @@
These HTML5 tags should pass through just fine.
-hello -head - - -read me - -read me - -the end
--
Foo @@ -29,7 +19,6 @@Bar - - - My street - - -
@@ -45,31 +34,24 @@ Main title
Secondary title
- diff --git a/test/cases/images.html b/test/cases/images.html index d1e0cb3..1f3a32b 100644 --- a/test/cases/images.html +++ b/test/cases/images.html @@ -1,5 +1,3 @@ - - diff --git a/test/cases/inline-anchors.html b/test/cases/inline-anchors.html index 52f90ed..69a8a2e 100644 --- a/test/cases/inline-anchors.html +++ b/test/cases/inline-anchors.html @@ -1,3 +1,2 @@This is an example inline link.
-This link has no title attribute.
diff --git a/test/cases/inline-code.html b/test/cases/inline-code.html index ebb7fdc..cf94c31 100644 --- a/test/cases/inline-code.html +++ b/test/cases/inline-code.html @@ -1,11 +1,6 @@Create a new
-function
.Use the backtick in MySQL syntax
-SELECT `column` FROM whatever
.A single backtick in a code span:
-`
A backtick-delimited string in a code span:
-`foo`
Please don't use any
-<blink>
tags.diff --git a/test/cases/inline-style-tag.html b/test/cases/inline-style-tag.html index d51b485..3941994 100644 --- a/test/cases/inline-style-tag.html +++ b/test/cases/inline-style-tag.html @@ -1,5 +1,4 @@ -
—
is the decimal-encoded equivalent of—
.An exciting sentence.
diff --git a/test/cases/lazy-blockquote.html b/test/cases/lazy-blockquote.html index c74d3f6..0b47c63 100644 --- a/test/cases/lazy-blockquote.html +++ b/test/cases/lazy-blockquote.html @@ -1,5 +1,4 @@diff --git a/test/cases/line-starts-with-html.html b/test/cases/line-starts-with-html.html index a8af6b2..29bf9b4 100644 --- a/test/cases/line-starts-with-html.html +++ b/test/cases/line-starts-with-html.html @@ -1,3 +1,2 @@This is a multi line blockquote test
-With more than one line.
some text words
-diff --git a/test/cases/list-followed-by-blockquote.html b/test/cases/list-followed-by-blockquote.html index 90899be..8083be4 100644 --- a/test/cases/list-followed-by-blockquote.html +++ b/test/cases/list-followed-by-blockquote.html @@ -1,15 +1,12 @@
wordssome title
--
- list item 1
- list item 2
-some text in a blockquote
- another list item 1
diff --git a/test/cases/list-followed-by-ghcode.html b/test/cases/list-followed-by-ghcode.html index bca7fac..5c754e3 100644 --- a/test/cases/list-followed-by-ghcode.html +++ b/test/cases/list-followed-by-ghcode.html @@ -1,16 +1,13 @@some title
--
- list item 1
- list item 2
-some code and some other line of code
- another list item 1
diff --git a/test/cases/list-with-blockquote.html b/test/cases/list-with-blockquote.html index 67a0a96..20ca2e1 100644 --- a/test/cases/list-with-blockquote.html +++ b/test/cases/list-with-blockquote.html @@ -1,6 +1,5 @@
A list item with a blockquote:
-This is a blockquote inside a list item.
diff --git a/test/cases/list-with-code.html b/test/cases/list-with-code.html index 4fb69c5..5096858 100644 --- a/test/cases/list-with-code.html +++ b/test/cases/list-with-code.html @@ -1,6 +1,5 @@diff --git a/test/cases/literal-html-tags.html b/test/cases/literal-html-tags.html index c9db48a..1555729 100644 --- a/test/cases/literal-html-tags.html +++ b/test/cases/literal-html-tags.html @@ -1,9 +1,5 @@
A list item with code:
-alert('Hello world!');
-
some **code** yeah
some
-inline **code** block
-
some inline **code**
blockyo dawg
-some
code
inceptionsome **div** yeah\ No newline at end of file diff --git a/test/cases/multi-paragraph-list.html b/test/cases/multi-paragraph-list.html index 6609bb4..6a4355f 100644 --- a/test/cases/multi-paragraph-list.html +++ b/test/cases/multi-paragraph-list.html @@ -1,6 +1,5 @@
This is a major bullet point.
-That contains multiple paragraphs.
- diff --git a/test/cases/nested-blockquote.html b/test/cases/nested-blockquote.html index b91c9d9..6063347 100644 --- a/test/cases/nested-blockquote.html +++ b/test/cases/nested-blockquote.html @@ -1,9 +1,7 @@
And another line
diff --git a/test/cases/paragraphed-list-with-sublists.html b/test/cases/paragraphed-list-with-sublists.html index 16184bf..417a541 100644 --- a/test/cases/paragraphed-list-with-sublists.html +++ b/test/cases/paragraphed-list-with-sublists.html @@ -1,13 +1,11 @@This is a multi line blockquote test
--And nesting!
With more than one line.
foo
-
bazinga
yeah
bar
-
- diff --git a/test/cases/pre-code-tags-inside-code-block.html b/test/cases/pre-code-tags-inside-code-block.html index 66544da..88501bd 100644 --- a/test/cases/pre-code-tags-inside-code-block.html +++ b/test/cases/pre-code-tags-inside-code-block.html @@ -1,7 +1,5 @@
damn
code inception
-- diff --git a/test/cases/pre-code-tags.html b/test/cases/pre-code-tags.html index 573b388..aa18009 100644 --- a/test/cases/pre-code-tags.html +++ b/test/cases/pre-code-tags.html @@ -3,14 +3,11 @@ foobar<pre><code> <div>some html code inside code html tags inside a fenced code block</div> </code></pre>
blabla
--foobar
diff --git a/test/cases/repeated-headers.html b/test/cases/repeated-headers.html index 97acc54..2cb8916 100644 --- a/test/cases/repeated-headers.html +++ b/test/cases/repeated-headers.html @@ -1,5 +1,3 @@<div>some html code</div>
Same Title
-some text
-Same Title
diff --git a/test/cases/strong.html b/test/cases/strong.html index 5bcc675..8b185b7 100644 --- a/test/cases/strong.html +++ b/test/cases/strong.html @@ -1,5 +1,3 @@important
-important
-really freakingstrong
diff --git a/test/features/#143.support-image-dimensions.html b/test/features/#143.support-image-dimensions.html index 41101c1..b116d65 100644 --- a/test/features/#143.support-image-dimensions.html +++ b/test/features/#143.support-image-dimensions.html @@ -1,3 +1,2 @@ - diff --git a/test/features/#164.1.simple-autolink.html b/test/features/#164.1.simple-autolink.html index d1a8c6e..17aa55e 100644 --- a/test/features/#164.1.simple-autolink.html +++ b/test/features/#164.1.simple-autolink.html @@ -1,11 +1,6 @@foo.bar
-www.foobar
- - -https://www.foobar.com/baz?bazinga=nhecos;
- diff --git a/test/features/#164.2.disallow-underscore-emphasis-mid-word.html b/test/features/#164.2.disallow-underscore-emphasis-mid-word.html index e728b10..3882640 100644 --- a/test/features/#164.2.disallow-underscore-emphasis-mid-word.html +++ b/test/features/#164.2.disallow-underscore-emphasis-mid-word.html @@ -1,18 +1,10 @@this is a sentence_with_mid underscores
-this is a sentence with just_one underscore
-this should be parsed as emphasis
-this is double__underscore__mid word
-this has just__one double underscore
-this should be parsed as bold
-emphasis at end of sentence
-emphasis at line start
-multi line emphasis yeah it is yeah
diff --git a/test/features/#164.3.strikethrough.html b/test/features/#164.3.strikethrough.html index 68139e4..f300ece 100644 --- a/test/features/#164.3.strikethrough.html +++ b/test/features/#164.3.strikethrough.html @@ -1,5 +1,3 @@a
-strikethroughwordthis should~~not be parsed
-diff --git a/test/features/#164.4.tasklists.html b/test/features/#164.4.tasklists.html index 045aa2b..29e025c 100644 --- a/test/features/#164.4.tasklists.html +++ b/test/features/#164.4.tasklists.html @@ -1,5 +1,4 @@
strike-through textmy things
--
- foo
@@ -9,5 +8,4 @@- bazinga
otherthings
diff --git a/test/features/#178.markdown-inside-html-does-not-parse.html b/test/features/#178.markdown-inside-html-does-not-parse.html index a8ed768..edecf98 100644 --- a/test/features/#178.markdown-inside-html-does-not-parse.html +++ b/test/features/#178.markdown-inside-html-does-not-parse.html @@ -1,9 +1,5 @@some markdown
-blabla
-This is **not parsed**--This is parsed
This is **not parsed**diff --git a/test/features/#198.literalMidWordUnderscores-changes-behavior-of-asterisk.html b/test/features/#198.literalMidWordUnderscores-changes-behavior-of-asterisk.html index cacc181..d931aab 100644 --- a/test/features/#198.literalMidWordUnderscores-changes-behavior-of-asterisk.html +++ b/test/features/#198.literalMidWordUnderscores-changes-behavior-of-asterisk.html @@ -1,5 +1,3 @@pointer *ptr *thing
-something _else _bla
-something __else __bla
diff --git a/test/features/#204.certain-links-with-at-and-dot-break-url.html b/test/features/#204.certain-links-with-at-and-dot-break-url.html index b8b28c2..fe65f36 100644 --- a/test/features/#204.certain-links-with-at-and-dot-break-url.html +++ b/test/features/#204.certain-links-with-at-and-dot-break-url.html @@ -1,7 +1,4 @@ - - - diff --git a/test/features/#259.es6-template-strings-indentation-issues.html b/test/features/#259.es6-template-strings-indentation-issues.html index b37048e..bdb80ae 100644 --- a/test/features/#259.es6-template-strings-indentation-issues.html +++ b/test/features/#259.es6-template-strings-indentation-issues.html @@ -1,7 +1,5 @@markdown doc
-you can use markdown for card documentation
-
- foo
diff --git a/test/features/#284.simplifiedAutoLink-does-not-match-GFM-style.html b/test/features/#284.simplifiedAutoLink-does-not-match-GFM-style.html index 91b5e46..575b9c7 100644 --- a/test/features/#284.simplifiedAutoLink-does-not-match-GFM-style.html +++ b/test/features/#284.simplifiedAutoLink-does-not-match-GFM-style.html @@ -1,3 +1,2 @@this is a link to www.github.com
-this is a link to www.google.com
diff --git a/test/features/#69.header-level-start.html b/test/features/#69.header-level-start.html index 4bf4104..dc95a1d 100644 --- a/test/features/#69.header-level-start.html +++ b/test/features/#69.header-level-start.html @@ -1,9 +1,5 @@Given
-When
-Then
-foo
-bar
diff --git a/test/features/disable-gh-codeblocks.html b/test/features/disable-gh-codeblocks.html index 35dc1c2..3d739ef 100644 --- a/test/features/disable-gh-codeblocks.html +++ b/test/features/disable-gh-codeblocks.html @@ -1,9 +1,7 @@this is some text
--
php function thisThing() { echo "some weird formatted code!"; }
some other text
diff --git a/test/features/tables/multiple-tables.html b/test/features/tables/multiple-tables.html index dac4cb1..0b18220 100644 --- a/test/features/tables/multiple-tables.html +++ b/test/features/tables/multiple-tables.html @@ -1,7 +1,5 @@Table Test
-section 1
--
@@ -18,9 +16,7 @@ section 2
-
diff --git a/test/features/tables/table-inside-codeblock.html b/test/features/tables/table-inside-codeblock.html index ced23c6..32d2467 100644 --- a/test/features/tables/table-inside-codeblock.html +++ b/test/features/tables/table-inside-codeblock.html @@ -1,5 +1,4 @@ some text
-| Tables | Are | Cool | | ------------- |:-------------:| -----:| | **col 3 is** | right-aligned | $1600 | diff --git a/test/features/tables/table-without-leading-pipe.html b/test/features/tables/table-without-leading-pipe.html index 2b5dd2d..9d2f170 100644 --- a/test/features/tables/table-without-leading-pipe.html +++ b/test/features/tables/table-without-leading-pipe.html @@ -1,6 +1,5 @@
Stats
-
diff --git a/test/features/tables/with-surroundings.html b/test/features/tables/with-surroundings.html index 016bf29..cf811a8 100644 --- a/test/features/tables/with-surroundings.html +++ b/test/features/tables/with-surroundings.html @@ -1,8 +1,7 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent nisi est, ullamcorper euismod iaculis sed, tristique at neque. Nullam metus risus, malesuada vitae imperdiet ac, tincidunt eget lacus. Proin ullamcorper -vulputate dictum. Vestibulum consequat ultricies nibh, sed tempus nisl mattis a.
- +vulputate dictum. Vestibulum consequat ultricies nibh, sed tempus nisl mattis a.-
@@ -21,7 +20,6 @@ vulputate dictum. Vestibulum consequat ultricies nibh, sed tempus nisl mattis a. Phasellus ac porttitor quam. Integer cursus accumsan mauris nec interdum. Etiam iaculis urna vitae risus facilisis faucibus eu quis risus. Sed aliquet rutrum dictum. Vivamus pulvinar malesuada ultricies. Pellentesque in commodo diff --git a/test/ghost/markdown-magic.html b/test/ghost/markdown-magic.html index d7e74e5..a80453a 100644 --- a/test/ghost/markdown-magic.html +++ b/test/ghost/markdown-magic.html @@ -1,29 +1,20 @@
Automatic Links
-- -https://ghost.org
Markdown Footnotes
--The quick brown fox[^1] jumped over the lazy dog[^2]. [^1]: Foxes are red [^2]: Dogs are usually not red
The quick brown fox[^1] jumped over the lazy dog[^2].
-Syntax Highlighting
--```language-javascript [...] ```
Combined with Prism.js in the Ghost theme:
--// # Notifications API // RESTful API for creating notifications var Promise = require('bluebird'), diff --git a/test/ghost/underscore.html b/test/ghost/underscore.html index fd3d629..87c98f5 100644 --- a/test/ghost/underscore.html +++ b/test/ghost/underscore.html @@ -1,80 +1,48 @@
foo_bar_baz foo_bar_baz_bar_foo foo_bar baz_bar baz_foo
-baz_bar_foo
-baz_bar_foo
-baz_bar_foo
-baz bar foo baz_bar_foo foo bar baz and foo
-foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo
--
foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo
-foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo
-foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo
foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo--foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo
- -foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo
foo_bar_baz foo_bar_baz_bar_foo foo_bar baz_bar baz_foo
-foo_bar_baz foo_bar_baz_bar_foo foo_bar baz_bar baz_foo
- -foo_bar_baz foo_bar_baz_bar_foo foo_bar baz_bar baz_foo
-foo_bar_baz foo_bar_baz_bar_foo foo_bar baz_bar baz_foo
--
- foo_bar_baz foo_bar_baz_bar_foo foo_bar baz_bar baz_foo
- foo_bar_baz foo_bar_baz_bar_foo foo_bar baz_bar baz_foo
-blockquote foo_bar_baz foo_bar_baz_bar_foo foo_bar baz_bar baz_foo
-
- foo_bar_baz foo_bar_baz_bar_foo foo_bar baz_bar baz_foo
- foo_bar_baz foo_bar_baz_bar_foo foo_bar baz_bar baz_foo
-http://en.wikipedia.org/wiki/Tourism_in_Germany
- -Another example of a link
-- -
foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo
- -
foo_bar_baz foo_bar_baz_bar_foo _foo_bar baz_bar_ baz_foo
http://myurl.com/foo_bar_baz_bar_foo
-http://myurl.com/foo_bar_baz_bar_foo
-italics.
-italics .
diff --git a/test/issues/#107.inner-underscore-parse-to-block.html b/test/issues/#107.inner-underscore-parse-to-block.html index b47ea95..aee6435 100644 --- a/test/issues/#107.inner-underscore-parse-to-block.html +++ b/test/issues/#107.inner-underscore-parse-to-block.html @@ -1,11 +1,6 @@escaped word_with_underscores
-escaped word__with__double underscores
-escaped word_with_single italic underscore
-escaped word*with*asterixs
-escaped word**with**asterixs
-escaped word*with*bold asterixs
diff --git a/test/issues/#142.odd-behaviour-for-multiple-consecutive-lists.html b/test/issues/#142.odd-behaviour-for-multiple-consecutive-lists.html index d371f19..c5e7f73 100644 --- a/test/issues/#142.odd-behaviour-for-multiple-consecutive-lists.html +++ b/test/issues/#142.odd-behaviour-for-multiple-consecutive-lists.html @@ -3,13 +3,11 @@- Item 2
--
- Item 1
- Item 2
\ No newline at end of file diff --git a/test/issues/#220.html-breaks-markdown-parsing.html b/test/issues/#220.html-breaks-markdown-parsing.html index 0084c9d..66439cb 100644 --- a/test/issues/#220.html-breaks-markdown-parsing.html +++ b/test/issues/#220.html-breaks-markdown-parsing.html @@ -1,8 +1,5 @@
- Item 1
diff --git a/test/issues/#183.gh-code-blocks-within-lists-do-not-render-properly.html b/test/issues/#183.gh-code-blocks-within-lists-do-not-render-properly.html index 032087f..4b79ddf 100644 --- a/test/issues/#183.gh-code-blocks-within-lists-do-not-render-properly.html +++ b/test/issues/#183.gh-code-blocks-within-lists-do-not-render-properly.html @@ -1,13 +1,11 @@
Hi, I am a thing
-$ git clone thing.git dfgdfg
I am another thing!
-$ git clone other-thing.git foobar diff --git a/test/issues/#191.blockquote-followed-by-an-heading.html b/test/issues/#191.blockquote-followed-by-an-heading.html index 0c67ea5..b594288 100644 --- a/test/issues/#191.blockquote-followed-by-an-heading.html +++ b/test/issues/#191.blockquote-followed-by-an-heading.html @@ -1,5 +1,4 @@
\ No newline at end of file diff --git a/test/issues/#196.entity-in-code-block-in-nested-list.html b/test/issues/#196.entity-in-code-block-in-nested-list.html index df91562..25b1906 100644 --- a/test/issues/#196.entity-in-code-block-in-nested-list.html +++ b/test/issues/#196.entity-in-code-block-in-nested-list.html @@ -1,28 +1,21 @@a blockquote
-followed by an heading
Test pre in a list
-
- & <
- +
& <
--
- & <
& <
--
- & <
& <
--
- & <
-& <
& <
Title 1
- -Title 2
-diff --git a/test/issues/#229.2.code-being-parsed-inside-HTML-code-tags.html b/test/issues/#229.2.code-being-parsed-inside-HTML-code-tags.html index dff2c46..53c8243 100644 --- a/test/issues/#229.2.code-being-parsed-inside-HTML-code-tags.html +++ b/test/issues/#229.2.code-being-parsed-inside-HTML-code-tags.html @@ -8,11 +8,8 @@ alert(s); barthis is a long paragraph
-this is another long paragraph
--```javascript var s = "JavaScript syntax highlighting"; alert(s); diff --git a/test/issues/#230.paragraphs-are-ignored-between-code-tags.html b/test/issues/#230.paragraphs-are-ignored-between-code-tags.html index 1f2492a..9ce90ea 100644 --- a/test/issues/#230.paragraphs-are-ignored-between-code-tags.html +++ b/test/issues/#230.paragraphs-are-ignored-between-code-tags.html @@ -2,9 +2,7 @@ var s; ```
this is a long paragraph
-```javascript var s; diff --git a/test/issues/#261.mix-images-with-links.html b/test/issues/#261.mix-images-with-links.html index 52617da..7d1b326 100644 --- a/test/issues/#261.mix-images-with-links.html +++ b/test/issues/#261.mix-images-with-links.html @@ -1,17 +1,9 @@ -
foo
- -foo
- -foo
- -foo
- diff --git a/test/issues/#261.reference-style-image-after-inline-style-image-does-not-work-correctely.html b/test/issues/#261.reference-style-image-after-inline-style-image-does-not-work-correctely.html index 11a7a74..117f37d 100644 --- a/test/issues/#261.reference-style-image-after-inline-style-image-does-not-work-correctely.html +++ b/test/issues/#261.reference-style-image-after-inline-style-image-does-not-work-correctely.html @@ -1,5 +1,3 @@-
foo
-diff --git a/test/issues/#261.reference-style-link-after-inline-style-link-does-not-work-correctely.html b/test/issues/#261.reference-style-link-after-inline-style-link-does-not-work-correctely.html index eda7d4b..13bb32f 100644 --- a/test/issues/#261.reference-style-link-after-inline-style-link-does-not-work-correctely.html +++ b/test/issues/#261.reference-style-link-after-inline-style-link-does-not-work-correctely.html @@ -1,5 +1,3 @@ -
foo
- diff --git a/test/issues/#288.code-blocks-containing-xml-comments-are-not-converted-correctly-when-nested-in-list-items.html b/test/issues/#288.code-blocks-containing-xml-comments-are-not-converted-correctly-when-nested-in-list-items.html index 5855544..d0b2e96 100644 --- a/test/issues/#288.code-blocks-containing-xml-comments-are-not-converted-correctly-when-nested-in-list-items.html +++ b/test/issues/#288.code-blocks-containing-xml-comments-are-not-converted-correctly-when-nested-in-list-items.html @@ -1,6 +1,5 @@-
list item 1
-<parent> <child>child1</child> <!-- This is a comment --> @@ -11,7 +10,6 @@
list item 2
<parent> <child>child1</child> <!-- This is a comment --> diff --git a/test/issues/#83.parsed-text-links-with-underscores.html b/test/issues/#83.parsed-text-links-with-underscores.html index 892e412..8d6f94b 100644 --- a/test/issues/#83.parsed-text-links-with-underscores.html +++ b/test/issues/#83.parsed-text-links-with-underscores.html @@ -1,5 +1,3 @@
plain text link http://test.com/this_has/one.html with underscores
-legit·word_with·1·underscore
-a wordwith2underscores (gets em)
diff --git a/test/issues/#96.underscores-in-links.html b/test/issues/#96.underscores-in-links.html index 273dcb9..975c4f5 100644 --- a/test/issues/#96.underscores-in-links.html +++ b/test/issues/#96.underscores-in-links.html @@ -1,3 +1,2 @@this is a underscore_test
-another underscore_test bla
diff --git a/test/karlcow/2-paragraphs-hard-return-spaces.html b/test/karlcow/2-paragraphs-hard-return-spaces.html index ed211e1..7c095bb 100644 --- a/test/karlcow/2-paragraphs-hard-return-spaces.html +++ b/test/karlcow/2-paragraphs-hard-return-spaces.html @@ -1,5 +1,4 @@This is a first paragraph, on multiple lines.
-This is a second paragraph. There are spaces in between the two.
\ No newline at end of file diff --git a/test/karlcow/2-paragraphs-hard-return.html b/test/karlcow/2-paragraphs-hard-return.html index 5da1c69..a2d0808 100644 --- a/test/karlcow/2-paragraphs-hard-return.html +++ b/test/karlcow/2-paragraphs-hard-return.html @@ -1,5 +1,4 @@This is a first paragraph, on multiple lines.
-This is a second paragraph which has multiple lines too.
\ No newline at end of file diff --git a/test/karlcow/2-paragraphs-line-returns.html b/test/karlcow/2-paragraphs-line-returns.html index 89f0e94..87f33f6 100644 --- a/test/karlcow/2-paragraphs-line-returns.html +++ b/test/karlcow/2-paragraphs-line-returns.html @@ -1,3 +1,2 @@A first paragraph.
-A second paragraph after 3 CR (carriage return).
\ No newline at end of file diff --git a/test/karlcow/2-paragraphs-line-spaces.html b/test/karlcow/2-paragraphs-line-spaces.html index 39270cc..601651d 100644 --- a/test/karlcow/2-paragraphs-line-spaces.html +++ b/test/karlcow/2-paragraphs-line-spaces.html @@ -1,3 +1,2 @@This a very long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long paragraph on 1 line.
-A few spaces and a new long long long long long long long long long long long long long long long long paragraph on 1 line.
\ No newline at end of file diff --git a/test/karlcow/2-paragraphs-line-tab.html b/test/karlcow/2-paragraphs-line-tab.html index 6ba5a11..1f53564 100644 --- a/test/karlcow/2-paragraphs-line-tab.html +++ b/test/karlcow/2-paragraphs-line-tab.html @@ -1,3 +1,2 @@This a very long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long paragraph on 1 line.
-1 tab to separate them and a new long long long long long long long long long long long long long long long long paragraph on 1 line.
\ No newline at end of file diff --git a/test/karlcow/2-paragraphs-line.html b/test/karlcow/2-paragraphs-line.html index 8812518..07aba47 100644 --- a/test/karlcow/2-paragraphs-line.html +++ b/test/karlcow/2-paragraphs-line.html @@ -1,3 +1,2 @@This a very long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long paragraph on 1 line.
-A new long long long long long long long long long long long long long long long long paragraph on 1 line.
\ No newline at end of file diff --git a/test/karlcow/EOL-CR+LF.html b/test/karlcow/EOL-CR+LF.html index c236b1d..49afea4 100644 --- a/test/karlcow/EOL-CR+LF.html +++ b/test/karlcow/EOL-CR+LF.html @@ -1,5 +1,3 @@These lines all end with end of line (EOL) sequences.
-Seriously, they really do.
-If you don't believe me: HEX EDIT!
\ No newline at end of file diff --git a/test/karlcow/EOL-CR.html b/test/karlcow/EOL-CR.html index 36a489b..0c04b14 100644 --- a/test/karlcow/EOL-CR.html +++ b/test/karlcow/EOL-CR.html @@ -1 +1 @@ -These lines all end with end of line (EOL) sequences.
Seriously, they really do.
If you don't believe me: HEX EDIT!
\ No newline at end of file +These lines all end with end of line (EOL) sequences.
Seriously, they really do.
If you don't believe me: HEX EDIT!
\ No newline at end of file diff --git a/test/karlcow/EOL-LF.html b/test/karlcow/EOL-LF.html index c236b1d..49afea4 100644 --- a/test/karlcow/EOL-LF.html +++ b/test/karlcow/EOL-LF.html @@ -1,5 +1,3 @@These lines all end with end of line (EOL) sequences.
-Seriously, they really do.
-If you don't believe me: HEX EDIT!
\ No newline at end of file diff --git a/test/karlcow/blockquote-added-markup.html b/test/karlcow/blockquote-added-markup.html index 375dbe8..d0b50bf 100644 --- a/test/karlcow/blockquote-added-markup.html +++ b/test/karlcow/blockquote-added-markup.html @@ -1,5 +1,4 @@diff --git a/test/karlcow/blockquote-line-2-paragraphs.html b/test/karlcow/blockquote-line-2-paragraphs.html index 9cb7059..081b88b 100644 --- a/test/karlcow/blockquote-line-2-paragraphs.html +++ b/test/karlcow/blockquote-line-2-paragraphs.html @@ -1,5 +1,4 @@heading level 1
-paragraph
\ No newline at end of file diff --git a/test/karlcow/blockquote-multiline-2-paragraphs.html b/test/karlcow/blockquote-multiline-2-paragraphs.html index 1339eee..a0f1f2b 100644 --- a/test/karlcow/blockquote-multiline-2-paragraphs.html +++ b/test/karlcow/blockquote-multiline-2-paragraphs.html @@ -2,7 +2,6 @@A blockquote with a very long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long line.
-and a second very long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long long line.
A blockquote on multiple lines like this.
-But it has two paragraphs.
\ No newline at end of file diff --git a/test/karlcow/blockquote-nested-multiplereturn-level1.html b/test/karlcow/blockquote-nested-multiplereturn-level1.html index 37d039d..ff0a7e6 100644 --- a/test/karlcow/blockquote-nested-multiplereturn-level1.html +++ b/test/karlcow/blockquote-nested-multiplereturn-level1.html @@ -1,9 +1,7 @@\ No newline at end of file diff --git a/test/karlcow/blockquote-nested-multiplereturn.html b/test/karlcow/blockquote-nested-multiplereturn.html index 5b0d801..f3f11f9 100644 --- a/test/karlcow/blockquote-nested-multiplereturn.html +++ b/test/karlcow/blockquote-nested-multiplereturn.html @@ -1,6 +1,5 @@This is the first level of quoting.
--This is nested blockquote.
Back to the first level.
This is the first level of quoting.
-diff --git a/test/karlcow/blockquote-nested-return-level1.html b/test/karlcow/blockquote-nested-return-level1.html index d37d55f..42b8ab4 100644 --- a/test/karlcow/blockquote-nested-return-level1.html +++ b/test/karlcow/blockquote-nested-return-level1.html @@ -1,6 +1,5 @@This is nested blockquote.
This is the first level of quoting.
-This is nested blockquote. Back to the first level.
diff --git a/test/karlcow/blockquote-nested.html b/test/karlcow/blockquote-nested.html index 5b0d801..f3f11f9 100644 --- a/test/karlcow/blockquote-nested.html +++ b/test/karlcow/blockquote-nested.html @@ -1,6 +1,5 @@This is the first level of quoting.
-diff --git a/test/karlcow/header-level1-hash-sign-trailing-2-spaces.html b/test/karlcow/header-level1-hash-sign-trailing-2-spaces.html index 797d31c..013acb3 100644 --- a/test/karlcow/header-level1-hash-sign-trailing-2-spaces.html +++ b/test/karlcow/header-level1-hash-sign-trailing-2-spaces.html @@ -1,3 +1,2 @@This is nested blockquote.
this is an h1 with two trailing spaces
-A new paragraph.
\ No newline at end of file diff --git a/test/karlcow/list-blockquote.html b/test/karlcow/list-blockquote.html index 1d99d17..60b1770 100644 --- a/test/karlcow/list-blockquote.html +++ b/test/karlcow/list-blockquote.html @@ -1,6 +1,5 @@
- diff --git a/test/karlcow/list-code.html b/test/karlcow/list-code.html index 33d36c9..664a61c 100644 --- a/test/karlcow/list-code.html +++ b/test/karlcow/list-code.html @@ -1,6 +1,5 @@
a list containing a blockquote
-this the blockquote in the list
- diff --git a/test/karlcow/list-multiparagraphs-tab.html b/test/karlcow/list-multiparagraphs-tab.html index 40153a2..12467c9 100644 --- a/test/karlcow/list-multiparagraphs-tab.html +++ b/test/karlcow/list-multiparagraphs-tab.html @@ -2,7 +2,6 @@
a list containing a block of code
-10 PRINT HELLO INFINITE 20 GOTO 10
- diff --git a/test/karlcow/list-multiparagraphs.html b/test/karlcow/list-multiparagraphs.html index 40153a2..12467c9 100644 --- a/test/karlcow/list-multiparagraphs.html +++ b/test/karlcow/list-multiparagraphs.html @@ -2,7 +2,6 @@
This is a list item with two paragraphs. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
-Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus. Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
- diff --git a/test/karlcow/ordered-list-inner-par-list.html b/test/karlcow/ordered-list-inner-par-list.html index 1e5632a..4435e81 100644 --- a/test/karlcow/ordered-list-inner-par-list.html +++ b/test/karlcow/ordered-list-inner-par-list.html @@ -1,6 +1,5 @@
This is a list item with two paragraphs. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
-Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus. Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
1
-
- inner par list