Skip to content

doc: repeated text when using superscripts #43864

Closed
@kvakil

Description

@kvakil

Affected URL(s)

https://nodejs.org/api/http2.html

Description of the problem

The output here (and other places in the documentation) is buggy; it
says $22^{32}$ where it should say $2^{32}$:

maxReservedRemoteStreams ... The maximum allowed value is $22^{32}-1$. ...

The actual source documentation is correct:

is 0. The maximum allowed value is 2<sup>32</sup>-1. A negative value sets

This began in #36407 according to git bisect run with the following:

#!/bin/bash
rm -rf out/doc
NODE=out/Release/node make -j$(nproc) doc-only || exit 125
! grep -q '22<sup>32</sup>-1' out/doc/api/http2.html

Weirdly the issue appears localized to superscripts in lists. It looks
fine when they are not in lists.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to the documentations.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions