html.tmbundle icon indicating copy to clipboard operation
html.tmbundle copied to clipboard

Proper support for XHTML

Open ExE-Boss opened this issue 7 years ago • 0 comments

XHTML uses the XML syntax, which has subtle incompatibilities with the HTML syntax.

The most notable being the ability to use the self‑closing tag syntax on all elements and <![CDATA[…]]> sections: https://github.com/gsnedders/csswg-test/blob/09674c9c828263779fd60401587b129c792265cf/css-cascade-3/reference/ref-filled-green-100px-square.xht

The current html.tmbundle is configured to be used for XHTML files, breaking the syntax highlighting of XHTML files using XML‑only syntax: https://github.com/textmate/html.tmbundle/blob/6a6fb2967e2f562a634fca97d18018104d428f1c/Syntaxes/HTML.plist#L5-L14

ExE-Boss avatar Sep 17 '18 18:09 ExE-Boss