Solutions Log

So I only have to figure things out once.

Project-Specific Self-Closing Tags in TextMate

If you want to switch to using self-closing tags like <img /> and <br /> in certain projects, change the shell variable TM_XHTML for that project to ” /”.

Click here:

Project Variables Button

Enter this:

XHTML for a specific project

The default behavior for TextMate is to use HTML 4, so you don’t have to do anything extra for those projects.

Comments