ios-personmd-notifications md-help-circle

Profile

  • Guest
    medal 0
  • Posts: 21
  • Post Likes: 3765

Notifications

  • No Unread Notifications

Newline in Notes leads to wrong calculation

warning
This thread is closed. Threads older than 6 weeks are closed automatically. To continue this discussion, create a new thread.
angle-double-left ios-arrow-back 1 ios-arrow-forward angle-double-right
md-lock This topic has been closed by the moderator
medal 5000
9 years 135 days ago
I filled a note box til it said "1 character left". I saved and had to realize, the text is missing its final 14 characters!
Entering edit mode again it says "15 chararcters left", which is *not* true.

By editing and saving a couple of times, it seeems to be that newlines are to blame. JS is condering them as a single char. In DB they seem to take 2 chars (or whereever the chars are counted and text gets truncated).

Chrome on Win7 Home Premium Sp1 64bit
md-quotelink
md-lock This topic has been closed by the moderator
angle-double-left ios-arrow-back 1 ios-arrow-forward angle-double-right

You must be logged in to post a reply.