Categorized: Markup, TextMate

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

Nothing to see here yet. Start things off, why don't you?

What do you think about that?

Elsewhere in the empire: Home, Blog, APOD