Skip to content

Commit

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

Reviewed-by: Christian Murphy <christian.murphy.42@gmail.com>
  • Loading branch information
wooorm committed May 24, 2019
1 parent d2d96c1 commit b859a12
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/handlers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ exports.menu = ignore
exports.menuitem = ignore
exports.meta = ignore
exports.nextid = ignore
exports.noscript = ignore
exports.object = ignore
exports.optgroup = ignore
exports.option = ignore
Expand Down Expand Up @@ -88,6 +87,7 @@ exports.ins = all
exports.marquee = all
exports.meter = all
exports.nobr = all
exports.noscript = all
exports.output = all
exports.progress = all
exports.slot = all
Expand Down
6 changes: 6 additions & 0 deletions test/fixtures/noscript/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<script>
// Some code.
</script>
<noscript>
<p>Some <em>HTML</em>.</p>
</noscript>
3 changes: 3 additions & 0 deletions test/fixtures/noscript/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"fragment": true
}
1 change: 1 addition & 0 deletions test/fixtures/noscript/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Some _HTML_.

0 comments on commit b859a12

Please sign in to comment.