v21/tracery

Unexpected token [

Closed this issue · 1 comments

this package is throwing an exception when I use a [ character in a value:

"thing" : ["this has a [ start brace", "this also has a [ start brace"]

escaping still produces the problem:

"thing" : ["this has a \[ start brace", "this also has a \[ start brace"]

The problem does not happen for the ] character.

I've since learned that [ and ] are special characters in tracery. I'll close this issue and take the discussion to the main repo.