Escaping placeholders for inputs