stanch / reftree

Automatically generated diagrams and animations for Scala data structures
http://stanch.github.io/reftree/
GNU General Public License v3.0
587 stars 36 forks source link

Unescaped special characters #7

Closed sakshamsharma closed 7 years ago

sakshamsharma commented 7 years ago

While trying to print an AST of a program, I tried renaming a node to < for instance.

Reftree does not fail on that, but when it tries to render the resulting dotfile using dot, the error is thrown by dot. Oh, and no, it isn't a clear error.

Perhaps special characters needed by dot should be escaped somehow?

stanch commented 7 years ago

Thanks! This reminded me that I fixed it in a local branch :)

stanch commented 7 years ago

By the way, 0.8.2 is already released with this fix.

sakshamsharma commented 7 years ago

Sounds great! Thanks!