Fix Issue #2 about self-closing tag contradiction