Skip to content

does not render html objects in the published version on parameter object of Open Api document #2578

Open
@diecaosrixsus

Description

Bug description

When I generate a space that has an Open Api 3.0.0 document and add an Html Tag within the description property of the parameters object, it is rendered in the unpublished version, but it is not displayed in the published version. Images are added that show the behavior.

How to reproduce

"parameters": [
          {
            "in": "header",
            "name": "x-signature",
            "required": true,
            "description": "SHA-256 encrypted signature, <a target='_blank' style='display: inline-block; background-color: #bddbbd; color: black; padding: .125rem .25rem; border-radius: .25rem; text-decoration: none; font-size: 12px; font-weight: 700;' href='../security#security'>See security page</a>",
            "schema": {
              "type": "string"
            },
            "example": "sha256=abc123def456"
          }
        ],

Additional context

unpublished version:

imagen

published version:

imagen

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