Improve support of mustaches in tags

Fixes #204.