bumping because this still isnt solved seemingly, and for people who are having trouble with this
Line breaks are considered as 2 characters (CR & LF) by SMF, but considered as 1 by JavaScript.
See:This fits considering you have 7 line breaksThere's nothing that can be done
I don't get it.