update regex to remove whitespace characters

there was an error with the regex that was stripping the html tags. i've
updated that and added a test so it won't happened again
Merge pull request #29 from mixandgo/bugfix/keyword_parser

Fix top keyword parser