Skip to content

Sections with parenthesis in headings rendered twice #2669

Open
@tobiasfranke-ecolytiq

Description

@tobiasfranke-ecolytiq

Describe the bug
When you have some parenthesis in the heading of a description of a tag the whole section gets rendered twice with different font sizes.

Expected behavior
The section should only be rendered once with a consistent font size like the other sections.

Minimal reproducible OpenAPI snippet(if possible)

openapi: 3.1.0

info:
  title: OpenAPI Minimal Example

tags:
  - name: Correct Rendering
    description: |
      # This H1 gets rendered correctly
      Some text.
  - name: Incorrect Rendering
    description: |
      # This H1 gets rendered incorrectly (parentheses cause it to be rendered twice with different font sizes)
      Some other text.

Screenshots
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions