Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Absolute path for "interactive" svg #370

Closed
Flugtiger opened this issue Sep 30, 2021 · 2 comments
Closed

Absolute path for "interactive" svg #370

Flugtiger opened this issue Sep 30, 2021 · 2 comments

Comments

@Flugtiger
Copy link

We use plantuml to render an interactive svg diagram. With 2.2.1 our diagram is no longer visible in the asciidoc output, because there is an absolute path inserted where there was a relative path before. This is caused by #368

Our options for the plantuml diagram look like this: [plantuml%interactive,solutionStrat,svg]

We need a relative path since the asciidoc html output is copied to a webserver and the browser needs to use the relative path to load the svg.

@pepijnve
Copy link
Member

Sorry for that regression. This is one of those points where the API between asciidoctor core and the extensions isn't really rich enough to communicate intent. The extension needs to "guess" what's appropriate, but that's dependent on the backend that's being used. I'll try to get this fixed asap.

@pepijnve
Copy link
Member

pepijnve commented May 8, 2022

The fix for this will be included in v2.2.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants