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

Add detection for XHTML #29

Open
onecrayon opened this issue Jun 4, 2009 · 2 comments
Open

Add detection for XHTML #29

onecrayon opened this issue Jun 4, 2009 · 2 comments

Comments

@onecrayon
Copy link
Owner

Currently, whatever is the default in the preferences is what is always used. I need to figure out a way to detect XHTML vs. HTML as often as possible, and only default to what's in preferences if nothing is detected.

@sergeche
Copy link
Contributor

I'm using DOCTYPE detection for Aptana: if there's XHTML Doctype or declaration, I'm using XHTML output profile

@onecrayon
Copy link
Owner Author

Yeah, detecting doctype will definitely be part of the puzzle. I'm thinking I might try to see if the file contains self-closing single tags, as well.

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

No branches or pull requests

2 participants