jamesjuett / lobster

Interactive Program Visualization Tools
8 stars 3 forks source link

fix escapeString only replace the first occurrence #290

Closed iteemhe closed 2 years ago

iteemhe commented 2 years ago

285

Fix the issue mentioned for escapeString

iteemhe commented 2 years ago

This bug also can be fixed by regex, which will make more sense. But I am not quite sure about the consequence of mixing regex with escape sequences.

jamesjuett commented 2 years ago

Thanks for the fix!