plantuml / plantuml-core

Core library of PlantUML that runs completely on javascript without needing java/servers
https://plantuml.github.io/plantuml-core/
MIT License
132 stars 41 forks source link

Allow underscore to be used as an escape character for pattern --> #2

Closed rohitsud closed 1 year ago

rohitsud commented 1 year ago

The issue is described in more detail at https://forum.plantuml.net/17507/dotted-arrow-also-the-close-comment-blocks-html-xml-markdown -- Similar to the issue in https://forum.plantuml.net/11806/dotted-arrow-also-the-close-comment-blocks-html-xml-markdown map uses the syntax with --> for longer arrows but they pose a problem when embedding in HTML.

For example, the following cannot be embedded in HTML.

map example {

    A*--> B

}

The linked thread above suggests the use of _ before the > but that doesn't work for maps.