diff --git a/Changes.markdown b/Changes.markdown index 829c0204..dec9e0b2 100644 --- a/Changes.markdown +++ b/Changes.markdown @@ -15,6 +15,8 @@ updating the changes file, sorry :( - Style tweaks by Xhmikosr (#83, #81, #82) - Build now tested by TravisCI thanks to sebs (#85) - Fix 'cuddled' header parsing (#94) +- Fix images inside links mistakenly requiring a title attribute to parse + correctly (#71) ## v0.4.0 - 2012-06-09 diff --git a/test/features/images/inside_link.json b/test/features/images/inside_link.json new file mode 100644 index 00000000..62b48e65 --- /dev/null +++ b/test/features/images/inside_link.json @@ -0,0 +1,11 @@ +["html", + ["p", + ["a", + { "href": "https://link-url" }, + ["img", { + "alt": "alt", + "src": "https://img-url" + } ] + ] + ] +] diff --git a/test/features/images/inside_link.text b/test/features/images/inside_link.text new file mode 100644 index 00000000..4b8c9cde --- /dev/null +++ b/test/features/images/inside_link.text @@ -0,0 +1 @@ +[![alt](https://img-url)](https://link-url)