Open kant01ne opened 2 years ago
hey @kant01ne - thanks for the good bug. yeah, the tokenizer attempts to put punctuation in the pre/post fields - but in this case, (if there is a matching bracket in the term text) i agree that it should retain the ending bracket. will add this on the list, for v14 cheers
Thanks 🙏 @spencermountain
compromise@13.11.4
Noticed the lib is removing some symbols unexpectedly when running the
json
methods.Ex:
The same issue happens with
foo[bar]
orfoo{bar}
.Expected behaviour: