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 only one underscore when escaping --> #3

Closed rohitsud closed 1 year ago

rohitsud commented 1 year ago

This improves #1303 by preventing expressions like --____> from being allowed. Now only expressions like --_> and *--> will be allowed in maps.

This duplicates changes in https://github.com/plantuml/plantuml/pull/1307

rohitsud commented 1 year ago

@arnaudroques It isn't obvious if the changes should be made to this repo and if those will be pulled to the main plantuml repo. Could we add a few lines in the readme or a contributing document to clarify this please?

arnaudroques commented 1 year ago

No, you don't have to make any Java change here.

So we have added a https://github.com/plantuml/plantuml-core/blob/main/CONTRIBUTING.md file.