Open
Description
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.