java
java copied to clipboard
PlantUML exporter should encode URL
Description
The latest version of PlantUML 1.2025.0 is more restrictive regarding remote image URLs: https://github.com/plantuml/plantuml/discussions/2083#discussioncomment-12267296
For instance, with the AWS theme, the PlantUML exporter will generate:
rectangle "Amazon Web Services\n<size:10>[Deployment Node]</size>\n\n<img:https://static.structurizr.com/themes/amazon-web-services-2020.04.30/[email protected]{scale=0.21428571428571427}>" <<Live.AmazonWebServices>> as Live.AmazonWebServices {
The URL contains a @ which should now be encoded otherwise PlantUML will show an error (Unable to decode...).
Priority
Low (I'm willing to make a pull request - please confirm approach first)
More information
No response
The latest version of the themes are not using @ anymore.
Feel free to close this issue if you think that it's unnecessary to encode URLs.