Skip to content

Commit c0a5ce2

Browse files
authored
Add support for ignoring frame related elements
Closes GH-45. Reviewed-by: Christian Murphy <[email protected]>
1 parent 2ebc108 commit c0a5ce2

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

lib/handlers/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ exports.datalist = ignore
4646
exports.dialog = ignore
4747
exports.element = ignore
4848
exports.embed = ignore
49+
exports.frame = ignore
50+
exports.frameset = ignore
4951
exports.input = ignore
5052
exports.isindex = ignore
5153
exports.keygen = ignore
@@ -56,6 +58,7 @@ exports.menu = ignore
5658
exports.menuitem = ignore
5759
exports.meta = ignore
5860
exports.nextid = ignore
61+
exports.noframes = ignore
5962
exports.object = ignore
6063
exports.optgroup = ignore
6164
exports.option = ignore
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>HTML Frames</title>
5+
</head>
6+
7+
<frameset rows="10%,80%,10%">
8+
<frame name="top" src="/html/top_frame.htm" />
9+
<frame name="main" src="/html/main_frame.htm" />
10+
<frame name="bottom" src="/html/bottom_frame.htm" />
11+
12+
<noframes>
13+
<body>
14+
Your browser does not support frames.
15+
</body>
16+
</noframes>
17+
</frameset>
18+
</html>

test/fixtures/frame-frameset-noframes/index.md

Whitespace-only changes.

0 commit comments

Comments
 (0)