diff --git a/tools/doc/html.js b/tools/doc/html.js index 43c95901f5a589..ed90bb89510a16 100644 --- a/tools/doc/html.js +++ b/tools/doc/html.js @@ -67,7 +67,7 @@ const gtocHTML = unified() const templatePath = path.join(docPath, 'template.html'); const template = fs.readFileSync(templatePath, 'utf8'); -const wrapSections = (content) => { +function wrapSections(content) { let firstTime = true; return content.toString() .replace(/