DROWL word no linebreak (white-space:nowrap at runtime)

Component ID

2788685

Component name

DROWL word no linebreak (white-space:nowrap at runtime)

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

264

Component created

Component changed

Component body

Simply wraps defined words in a nowrap span element at runtime by JavaScript to prevent breaks within or between these words. This is for example useful for trademarks with more than one word.

The words not to break can be defined on the module page as comma-separated list.

BTW: This is NOT being done by an input filter intentionally, because words coming from the menu system or other areas without input filtering are also replaced this way.

Development proudly sponsored by:

webks: websolutions kept simple (http://www.webks.de)
and
DROWL: Drupalbasierte Lösungen aus Ostwestfalen-Lippe (http://www.DROWL.de)