Skip to content

Commit

Permalink
Add test for image without title inside link (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashb committed Jul 26, 2013
1 parent 87e2804 commit e1813a2
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Changes.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 11 additions & 0 deletions test/features/images/inside_link.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
["html",
["p",
["a",
{ "href": "https://link-url" },
["img", {
"alt": "alt",
"src": "https://img-url"
} ]
]
]
]
1 change: 1 addition & 0 deletions test/features/images/inside_link.text
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[![alt](https://img-url)](https://link-url)

0 comments on commit e1813a2

Please sign in to comment.