docusaurus-openapi-docs
docusaurus-openapi-docs copied to clipboard
Tag and Api parse descriptions differently, renders <br/>
Describe the bug
On the API page template we are seeing operation descriptions which contain <br /> rendered correctly as HTML
On the tag page, Cards which render the operation title and description render <br /> as strings
Expected behavior
Card descriptions are rendered with HTML elements parsed out
Current behavior
Card descriptions render html elements are strings
Possible solution
Steps to reproduce
https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/compare/main...omonk:docusaurus-openapi-docs:patch-1
- Add
<br/>to any operation description, see link above for example - Got to tag page
- See
<br>rendered in description
Screenshots
Card
Api page
Your Environment
"docusaurus-plugin-openapi-docs": "4.1.0",
"docusaurus-theme-openapi-docs": "4.1.0",