diff --git a/tests/data/inline_link_title.html b/tests/data/inline_link_title.html new file mode 100644 index 0000000..70e589a --- /dev/null +++ b/tests/data/inline_link_title.html @@ -0,0 +1 @@ +

single quotes and double quotes

\ No newline at end of file diff --git a/tests/data/inline_link_title.md b/tests/data/inline_link_title.md new file mode 100644 index 0000000..162b832 --- /dev/null +++ b/tests/data/inline_link_title.md @@ -0,0 +1 @@ +[single quotes](http://example.com 'Title') and [double quotes](http://example.com "Title") \ No newline at end of file diff --git a/tests/data/reference_title.html b/tests/data/reference_title.html index 70e589a..8f2be94 100644 --- a/tests/data/reference_title.html +++ b/tests/data/reference_title.html @@ -1 +1,2 @@ -

single quotes and double quotes

\ No newline at end of file +

double quotes and single quotes and parentheses

+

[invalid title]: http://example.com example title

\ No newline at end of file diff --git a/tests/data/reference_title.md b/tests/data/reference_title.md index 162b832..43cb217 100644 --- a/tests/data/reference_title.md +++ b/tests/data/reference_title.md @@ -1 +1,6 @@ -[single quotes](http://example.com 'Title') and [double quotes](http://example.com "Title") \ No newline at end of file +[double quotes] and [single quotes] and [parentheses] + +[double quotes]: http://example.com "example title" +[single quotes]: http://example.com 'example title' +[parentheses]: http://example.com (example title) +[invalid title]: http://example.com example title \ No newline at end of file