structurizr / onpremises

Structurizr on-premises installation
https://docs.structurizr.com/onpremises
MIT License
117 stars 45 forks source link

On-premises installation unnecessarily/erroneously filtering HTML when using DSL editor #74

Closed simonbrowndotje closed 9 months ago

simonbrowndotje commented 9 months ago

Description

The DSL editor is filtering HTML tags and can break the JSON version of the workspace.

Steps to reproduce

  1. Create a new workspace.
  2. Open the DSL editor, paste in the code below.
  3. Save, refresh, and click Render a couple of times to see a Could not read JSON message.

Screenshot

Screenshot 2023-10-11 at 08 04 30

Code sample

workspace {

    model {
        person "<Hello"
        person "World>"
    }

}

Configuration

main branch.

Severity

Major

Priority

Low

Resolution

I'm willing to fix this myself and raise a PR

More information

Workaround: remove < and > characters from descriptions, etc.