fix #3250: Strip HTML before using translate