QUESTION:

Textile adds <span class="caps">...</span> tags around capital letters. How do I stop this?



ANSWER:

Textile wraps strings of 3 or more capital letters in a special span class, like this:

<span class="caps">IBM</span>

This is to allow acronyms, initialisms and the like to be uniquely styled. Many typographic guides recommend using additional letter spacing in strings of capitals. Textile, being a typographically rich markup syntax, is intended to make such things possible.

Textpattern includes a CSS rule for additional caps letter spacing in its default stylesheet, something like this:

.caps
{
	letter-spacing: 0.1em;
}

If you don’t want special letter spacing for captials, simply remove or comment out that rule from your stylesheet. Once it’s gone, the span tags will have no effect.