Escaping input fields (react?)

Sorry if this is the wrong venue, but I could not find it anywhere; when I put any free input field (text/textarea etc) on a form and submit something with traditional unix escape chars like \n , the onchange receives an escaped one, aka \\n.

Any idea how to switch that off? It’s literally never what we would want.

Thank you!