added test for particular edge case with braces and semicolons inside tags that allows custom text