Posnet / xkcd-substitutions

xkcd substitutions chrome extension
MIT License
103 stars 64 forks source link

Repeated replacement if [word] contained within Substitution. #55

Open busti opened 7 years ago

busti commented 7 years ago

When replacing a phrase like "Batman" with "The Batman" the phrase is repeatedly replaced until a limit is hit causing stuff like this:

thethethethebatman

piquan commented 7 years ago

Also see #28, of which this is a special case, and #48, which fixes this issue.