How can I escape the HTML img tag?

0 votes
asked Jun 13, 2015 in To be sorted by anonymous
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.

1 Answer

+1 vote
answered Jun 13, 2015 by plantuml (294,960 points)

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,

commented Jun 13, 2015 by techcurmudgeon (100 points)
Great! Thanks! That's just what I was hoping for.
...