optimize html sanitization

closes #70
update locales