Skip to content
This repository was archived by the owner on Oct 20, 2022. It is now read-only.
This repository was archived by the owner on Oct 20, 2022. It is now read-only.

how to avoid sanitize? #99

Description

@cperezortiz

I got sanitize injected as a dependency into my project for custom reasons, but I'd like to avoid the sanitize in this line:
https://github.com/Orange-OpenSource/angular-swagger-ui/blob/master/src/scripts/modules/swagger-markdown.js#L54

because everytime it sanitizes here, it messes up my description field, specifically, my newlines \n, thus my html markdown, shows up not formatted as I expected it.

How to avoid the sanitize here?

Activity

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

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