The demo is "over-escaping" the special characters. So instead of sending "\n" it sends "\n". The first parses as a new line, the second one as a literal string "\n". When tokenized, the "" is ignored and the final result is "n".
Example:
Given:
"Hello, it's me\nI was wondering if after all these years you'd like to meet\nTo go over everything\nThey say that time's supposed to heal ya\nBut I ain't done"
Parsed words are:
hello, it's, me, ni, was, wondering, if, after, all, these, years, you'd, like, to, meet, nto, go, over, everything, nthey, say, that, time's, supposed, to, heal, ya, nbut, i, ain't, done