allow optional tags with extra text inside curly brackets. Fixes #6