Skip to content

Commit

Permalink
Add support for <ins> to children
Browse files Browse the repository at this point in the history
Closes GH-42.

Reviewed-by: Christian Murphy <christian.murphy.42@gmail.com>
  • Loading branch information
wooorm committed May 24, 2019
1 parent da817ba commit d2d96c1
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/handlers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ exports.data = all
exports.details = all
exports.dfn = all
exports.font = all
exports.ins = all
exports.marquee = all
exports.meter = all
exports.nobr = all
Expand Down
10 changes: 10 additions & 0 deletions test/fixtures/ins/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<aside>
<ins>
<p>I like fruit.</p>
</ins>
</aside>

<aside>
<ins>Apples are <em>tasty</em>.</ins>
<ins>So are pears.</ins>
</aside>
3 changes: 3 additions & 0 deletions test/fixtures/ins/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"fragment": true
}
3 changes: 3 additions & 0 deletions test/fixtures/ins/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
I like fruit.

Apples are _tasty_. So are pears.

0 comments on commit d2d96c1

Please sign in to comment.