Skip to content

Commit

Permalink
Fix template not having surrounding document
Browse files Browse the repository at this point in the history
html5lib#158 removed the fragment mode, without updating the expected document.
  • Loading branch information
fb55 committed Apr 3, 2023
1 parent 1314b09 commit 98bed97
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions tree-construction/template.dat
Original file line number Diff line number Diff line change
Expand Up @@ -1636,13 +1636,16 @@ eof table
<template><form><input name="q"></form><div>second</div></template>
#errors
#document
| <template>
| content
| <form>
| <input>
| name="q"
| <div>
| "second"
| <html>
| <head>
| <template>
| content
| <form>
| <input>
| name="q"
| <div>
| "second"
| <body>

#data
<!DOCTYPE HTML><template><tr><td>cell</td></tr></template>
Expand Down

0 comments on commit 98bed97

Please sign in to comment.