Allow opening braces in front of a tag

As opening braces were allowed as the first symbol in the tag content,
the tag detection was greedy. It also removed single braces placed in
front of the real tag.
Thus no opening braces could be placed directly before a replaced text.