tea-for-espresso icon indicating copy to clipboard operation
tea-for-espresso copied to clipboard

Add detection for XHTML

Open onecrayon opened this issue 15 years ago • 2 comments

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.

onecrayon avatar Jun 04 '09 05:06 onecrayon

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

sergeche avatar Dec 16 '09 10:12 sergeche

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.

onecrayon avatar Dec 16 '09 15:12 onecrayon