Take for example, the following, which is a valid mustache in Ractive.js: {{~/user.id}} The tilde within the mustache signifies root level. But your plugin parses the tilde giving {{{{/user.id}}}}. I'm sure there are other scenarios. Essentially, if there are already existing mustaches, it should ignore whatever is inside, since those are explicit.
Take for example, the following, which is a valid mustache in Ractive.js:
{{~/user.id}}
The tilde within the mustache signifies root level. But your plugin parses the tilde giving{{{{/user.id}}}}
. I'm sure there are other scenarios. Essentially, if there are already existing mustaches, it should ignore whatever is inside, since those are explicit.