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
89 stars 35 forks source link

Fix CRLF line breaks incorrect count #27

Closed alexisbcc closed 1 year ago

alexisbcc commented 2 years ago

CRLF line breaks were not count correctly by the tool, also when using the web page all line breaks styles line CRLF are always converted to LF, misleading the user in the character count, this is only an issue with the HTML text area field, if the user insert a message with CRLF line breaks using the command line tool this will work correctly.

Changes: