htmlspecialchars fix for android