## Description of problem We are building static HTML with respec 35.1.1 and see class `toc-inline` randomly appearing/disappearing in the `<body>` element. **URL to affected spec or repo:** * Repo and source files * https://github.com/OAI/OpenAPI-Specification/tree/main/versions * Build script: * https://github.com/OAI/OpenAPI-Specification/blob/main/scripts/md2html/build.sh, calling * https://github.com/OAI/OpenAPI-Specification/blob/main/scripts/md2html/md2html.js * Output files * https://spec.openapis.org/oas/v3.1.0.html * https://spec.openapis.org/oas/v3.0.3.html * https://spec.openapis.org/oas/v3.0.2.html * https://spec.openapis.org/oas/v3.0.1.html * https://spec.openapis.org/oas/v3.0.0.html * https://spec.openapis.org/oas/v2.0.html **What happened (e.g., it crashed)?:** Sometimes respec produces: ~~~html <body class="h-entry toc-inline"> ~~~ Sometimes respec produces: ~~~html <body class="h-entry"> ~~~ **Expected behavior:** Always produce the same output from the same input. **Optional, steps to reproduce:** Hard to reproduce, most of the times re-running our build script produces the output without `toc-inline`. Here's one run with the sporadic `toc-inline` in several files: https://github.com/OAI/OpenAPI-Specification/pull/4000/files
Description of problem
We are building static HTML with respec 35.1.1 and see class
toc-inlinerandomly appearing/disappearing in the<body>element.URL to affected spec or repo:
What happened (e.g., it crashed)?:
Sometimes respec produces:
Sometimes respec produces:
Expected behavior:
Always produce the same output from the same input.
Optional, steps to reproduce:
Hard to reproduce, most of the times re-running our build script produces the output without
toc-inline.Here's one run with the sporadic
toc-inlinein several files: https://github.com/OAI/OpenAPI-Specification/pull/4000/files