TwilioDevEd / message-segment-calculator

JS-based tool to calculate and display message segmentation data for a given message body
https://twiliodeved.github.io/message-segment-calculator/
MIT License
85 stars 35 forks source link

Fix CRLF Windows line break incorrect character count #23

Closed alexisbcc closed 2 years ago

alexisbcc commented 2 years ago

Line breaks in Windows Style now count as 2 characters. A new selector was added to select the line break style.

Changes:

alexisbcc commented 2 years ago

Will not implement, web pages don't have the ability to use the original user input line-breaks, in other words, it's not possible to termine the original libre-break type that the user inserted in the text area. https://stackoverflow.com/questions/14217101/what-character-represents-a-new-line-in-a-text-area