How to prevent html injection in input field in the frappe?

Hi all,
Is prevention of Html injection already present in the frappe for the input field
if not can anyone guide me how to implement this ?