Welcome to PlantUML Q&A, where you can ask questions and receive answers from other members of the community.

You can also submit new features request and vote for them.

How can I escape the HTML img tag?

0 votes
I want to use a string like:

<html>...<img src="..."></img>...</html>

as a label, but plantuml just gives me an error. I've tried using "~" and "\" to escape the tag, but they don't help.
asked Jun 13, 2015 by anonymous

1 Answer

+1 vote

We've build a new beta https://dl.dropboxusercontent.com/u/13064071/plantuml.jar

This beta supports '~' for escaping the tag. Example:

@startuml
:foo;
:<html>...~<img src="..."></img>...</html>;
@enduml

Is this what you are expecting ?

Thanks,

answered Jun 13, 2015 by plantuml (122,830 points)
Great! Thanks! That's just what I was hoping for.
Support This Project Offer 250 Mo! Follow PlantUML on Twitter
...