Skip to content

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

@ralfhandl

Description

@ralfhandl

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions