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

Strange rendering of Markdown when headers has similar text #2491

Open
Justinas-Jurciukonis opened this issue Feb 15, 2024 · 1 comment
Open

Comments

@Justinas-Jurciukonis
Copy link

Describe the bug
For some reason when H2 header repeats with similar text, Redoc Standalone JS parses Markdown and adds content to next section.

Please note that if I change first header from Fiskaly ES to Fiskaler ES, than everything is working fine.

*Minimal reproducible OpenAPI snippet

This is the OpenAPI content (partial):

    "info": {
        "version": "local",
        "title": "Our API Documentation",
        "description": "\n# Integrations\n\n## Fiskaly ES  \nSome Description  \n## Fiskaly  \nSome Description  \n## Oracle Netsuite  \nSome Description  "
    },

Screenshots
Screenshot 2024-02-15 at 10 53 43
Screenshot 2024-02-15 at 11 05 31
Screenshot 2024-02-15 at 11 01 45

@satokenta940
Copy link

I won't encounter this problem when generating API documents using Apidog, maybe you can give it a try.

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

No branches or pull requests

2 participants