Skip to content

SVG with DomainStory breaks after import in external TOOLs #263

Description

@AlexanderZellober

Describe the bug
After uploading the .egn.svg File the contained story breaks.
Since the story is added as a Comment in the SVG, many exterrnal Tools, such as MIRO or Collaboard strip the Comment for security reasons.

To Reproduce
Take any Egon.io svg File with an embedded Story and upload it in Collaboard.
A message appears that the comments in the SVG were stripped for security Reasons.

After downloading the svg and importing it in Egon the Import dowws not work.

Expected behavior
Importing a SVG that was previoulsy uploaded to Collaboard etc. should still work.

Proposed Workaround
Instead of adding the DomainStory as a Comment in the SVG File, it is possible to add it as a hidden SVG Text as long as < and > are URI-escaped.
Fortunately the JSON-formatting is preserved, making this solution only marginally less editable by Hand

Version

  • Egon: any
  • Browser: any
  • OS: any

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions