Trevixal API
    Preparing search index...
    • An SVG with nothing in it that can run or reach out: no scripts, no event handlers, no foreign content, no animation, no link to anything outside the file bar an inlined raster image, and no url() in a style that is not a fragment. The picture itself is untouched. Throws an UploadError for text that is not an SVG at all.

      Parameters

      • source: string
      • document: Document = globalThis.document

      Returns string