dignajar/nibbleblog — pull request #54 by ForestMist (2014-02-16 08:27:37+00:00)
Title: Tags with spaces

Hi Diego! :D

Added support for tags with spaces for humans.

Like a tag called 'startrek' could be seen by humans as 'star trek' yet still be linked like '/tag/startrek'.

For things like href links where a name with no spaces is desired it will pull from the 'name' attribute in the XML file.

For things like meta tags, link descriptions, tag clouds and such it will use the 'name_human' attribute which doesn't have spaces stripped from between words.

Totally open to coding things in a better way if you see any opportunities for improvement. :D