Slash doesn't escaped

Caused problems during uglify minification 
Merge pull request #1021 from frntz/master

Fix escapeMarkup regexp