liferay/liferay-portal — pull request #464 by bensonlau (2013-10-14 15:33:18+00:00)
Title: LPS-40768

for LPS-40768. Added in the conditional a check for dash punctuation so that the hyphen ( - ) would NOT be replaced with a space and subsequently replaced by a underscore. Previously, the if condition was only taking into account letters ('L') and numbers ('N') so that if you used a hyphen or a dash, the character was being changed to a space.