Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Randomly appearing class "toc-inline" in body element #4771

Open
ralfhandl opened this issue Aug 1, 2024 · 0 comments
Open

Randomly appearing class "toc-inline" in body element #4771

ralfhandl opened this issue Aug 1, 2024 · 0 comments
Labels

Comments

@ralfhandl
Copy link

ralfhandl commented Aug 1, 2024

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:

What happened (e.g., it crashed)?:

Sometimes respec produces:

<body class="h-entry toc-inline">

Sometimes respec produces:

<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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant