[TxMt] HTML bundle ? Self Closing (X)HTML Tags

Matthew Betts bettsfamily at mac.com
Thu Jan 18 02:37:51 UTC 2007


I am having a problem with the HTML bundle.

When I use the tag triggers to insert an element with a self closing tag (like <input />) or drag in an image (<img />) it does not put it in the XHTML format, even though the doctype is XHTML strict.

In the bundle editor (using the <input> example) it says:

<input type="${1:text/submit/hidden/button}" name="${2:some_name}" value="$3"${4: id="${5:$2}"}${TM_XHTML}>

Now I assume that this: ${TM_XHTML} is some kind of variable which decides whether to put the XHTML bit it.  But it doesn't seem to work.

Any help would be much appreciated.



More information about the textmate mailing list