Token replacement is not working very well for CSS classes.

Specifically I am referring to the Row Class field provided in the Format field-set.
The field help text states: "The class to provide on each row. You may use field tokens from as per the "Replacement patterns" used in "Rewrite the output of this field" for all fields."

I think that terms should be lowercased and hyphenated and that multi term fields should keep terms separate.

"Term one, Term Two, Term number Three" Should appear in the CSS as "term-one term-two term-number-three" but currently it appears as "Term one Term Two Term number Three".

For me this is important when integrating jQuery projects where taxonomy terms are utilised as CSS selectors.

Comments

farald’s picture