From c186adeb80e7514c8fff280253f6e2b9bf59d471 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Tue, 23 Mar 2021 22:45:04 -0700 Subject: [PATCH] fixup! doc,tools: use only one level 1 header per page --- test/doctool/test-doctool-html.js | 38 +++++++++++++++---------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/test/doctool/test-doctool-html.js b/test/doctool/test-doctool-html.js index e3d0d4251dcc7d..dd651a66c1e94f 100644 --- a/test/doctool/test-doctool-html.js +++ b/test/doctool/test-doctool-html.js @@ -60,25 +60,25 @@ function toHTML({ input, filename, nodeVersion, versions }) { const testData = [ { file: fixtures.path('order_of_end_tags_5873.md'), - html: '

Static method: Buffer.from(array) ' + + html: '

Static method: Buffer.from(array) ' + '#

' + + 'id="foo_static_method_buffer_from_array">#

' + '' }, { file: fixtures.path('doc_with_yaml.md'), - html: '

Sample Markdown with YAML info' + + html: '

Sample Markdown with YAML info' + '#

' + - '

Foobar#

' + + ' id="foo_sample_markdown_with_yaml_info">#' + + '

Foobar#

' + ' ' + '

Describe Foobar in more detail here.

' + '
' + - '

Foobar II#