Better to use a regexp to determine empty postags