Bugfix on string parsing in tags