diff --git a/test/doctool/test-doctool-html.js b/test/doctool/test-doctool-html.js index 185faa46f71886..0ca46c0adedfc1 100644 --- a/test/doctool/test-doctool-html.js +++ b/test/doctool/test-doctool-html.js @@ -52,15 +52,15 @@ const testData = [ 'v4.2.0

The error parameter can now be' + 'an arrow function.

' + '

Describe Foobar II in more detail here.' + - 'fg(1)

' + - '

Deprecated thingyfg(1)' + + '

Deprecated thingy#' + '

Describe ' + 'Deprecated thingy in more detail here.' + - 'fg(1p)' + - '

Something#

' + + 'fg(1p)' + + '

Something#

' + ' ' + '

Describe Something in more detail here.

' }, diff --git a/tools/doc/html.js b/tools/doc/html.js index dfd0f22c7c8330..24c4614fc291c7 100644 --- a/tools/doc/html.js +++ b/tools/doc/html.js @@ -141,7 +141,7 @@ function linkManPages(text) { MAN_PAGE, (match, beginning, name, number, optionalCharacter) => { // Name consists of lowercase letters, // number is a single digit with an optional lowercase letter. - const displayAs = `${name}(${number}${optionalCharacter})`; + const displayAs = `${name}(${number}${optionalCharacter})`; if (BSD_ONLY_SYSCALLS.has(name)) { return `${beginning}