Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proper support for XHTML #94

Open
ExE-Boss opened this issue Sep 17, 2018 · 0 comments
Open

Proper support for XHTML #94

ExE-Boss opened this issue Sep 17, 2018 · 0 comments

Comments

@ExE-Boss
Copy link

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:

<key>fileTypes</key>
<array>
<string>html</string>
<string>htm</string>
<string>shtml</string>
<string>xhtml</string>
<string>inc</string>
<string>tmpl</string>
<string>tpl</string>
</array>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant