-
Notifications
You must be signed in to change notification settings - Fork 498
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
Plantuml diagram links are blank #1105
Comments
Please provide the diagram source so I can test. What I can tell you right away is that prawn-svg does not support HTML embedded in the SVG. If there's a link, it must be defined using a xlink:href. A browser doesn't have this restriction because it can understand arbitrary HTML in an SVG because it's an HTML environment. In other words, the browser is not really rendering an SVG so much as enhanced HTML. |
Thank you for your answer. [plantuml, test_link, svg, opts=interactive]
----
actor Bob [[http://plantuml.com/sequence]]
actor "This is [[http://plantuml.com/sequence Alice]] actor" as Alice
Bob -> Alice [[http://plantuml.com/start]] : hello
note left [[http://plantuml.com/start]]
a note with a link
end note
Alice -> Bob : hello with [[http://plantuml.com/start{Tooltip for message} some link]]
note right [[http://plantuml.com/start]] : another note
note left of Bob
You can use [[http://plantuml.com/start links in notes]] also.
end note
---- Do you have any idea of how I could include xlink:href in svg diagram through plantuml ? |
plantuml is putting an I've filed an issue in prawn-svg to discuss. See mogest/prawn-svg#111 |
This has been implemented upstream. We're now just waiting on a release. |
…n plantuml diagrams
…n plantuml diagrams
Hi,
I've got an issue when generating plantuml diagram with html links: they are all blanks as show in the picture above.
It's working with html generation as show in the picture above:
The following attributes are used for plantuml block definition:
Furthermore, I'm using the following version/environment:
The text was updated successfully, but these errors were encountered: