marijnh/CodeMirror2 — pull request #477 by eustas (2012-04-02 10:07:26+00:00)
Title: htmlmixed/xml: add option to force self-closing tags to be self-closed

This feature will guide users to write better (well-formed) (x)html.

This feature is enabled with adding "forceSelfClosers: true" to spec (parserConfiguration).

If this flag is not specified, parser works as usual. Otherwise ">" is marked as an error for self-closing tags unless it is preceded by "/".