replace special chars in meta with underscores

I made this change in the 0.9.3 version but it must have gotten lost in the transition. 

This code is better. It replaces any non-word or number characters with underscores. This makes the meta safe for the different template engines.