How can I escape the HTML img tag?

0 votes
asked Jun 13, 2015 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 (131,770 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 (110 points)
Great! Thanks! That's just what I was hoping for.
...