Skip to content

Commit

Permalink
Infrastructure: Add newline at EOF when generating example index (pull
Browse files Browse the repository at this point in the history
  • Loading branch information
nschonni committed Dec 22, 2020
1 parent 7d635f3 commit d15cfc7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -792,4 +792,4 @@ <h2 id="examples_by_props_label">Examples By Properties and States</h2>
</nav>


</body></html>
</body></html>
1 change: 1 addition & 0 deletions scripts/reference-tables.js
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,7 @@ $('#examples_by_props_tbody').html(examplesByProps);
// cheerio seems to fold the doctype lines despite the template
const result = $.html()
.replace('<!DOCTYPE html>', '<!DOCTYPE html>\n')
.replace('</body></html>', '</body></html>\n')
.replace(
'<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">',
'<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">\n'
Expand Down

0 comments on commit d15cfc7

Please sign in to comment.