stathissideris / ditaa

ditaa is a small command-line utility that can convert diagrams drawn using ascii art ('drawings' that contain characters that resemble lines like | / - ), into proper bitmap graphics.
GNU Lesser General Public License v3.0
927 stars 87 forks source link

Break out of infinite loop if no progress is made #4

Closed marvinthepa closed 9 years ago

marvinthepa commented 9 years ago

Otherwise, this almost minimal example would trigger an infinite loop (note the empty line above the shape, it is needed to trigger this problem):

<ditaa>

/---|
\---/

</ditaa>