Download & Extend

Tokenized terms not encoded when used as a CSS class

Project:Semantic Views
Version:6.x-1.1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

First off - love this module. Saves me hours of time - Benjamin, I owe you a beer (or several).

Just ran into an issue when trying to use a taxonomy term as a CSS class attribute (using the [name] token as the replacement pattern). The term is being correctly added as a class attribute, but for multi-word terms, no hyphen is being added. For example, when the term being added as a class is "my term", I expect the resulting CSS class to be output as "my-term". Instead, I get two class attributes "my" and "term".

I first reported this issue to bangpound via twitter: http://twitter.com/ultimike/status/22717085523

Thanks,
-mike

Comments

#1

nobody click here