Javascript innerText adds two n for every carriage return key user pressed
Im my Angular project i have a textarea from which the innerHTML is read and characters count remaining shown to user The from the same textarea i read text via innerText and send to server with length to store in…