Normalise textarea line endings

Created on 1 September 2012, over 12 years ago
Updated 8 August 2024, 7 months ago

There is a ever so slight difference between various systems when it comes to counting newlines, on windows "\n\r" is counted as 2 characters while Unix / Macs will count as just "\n" or "\r". Windows are still the most common OS for our end users.

What are peoples thoughts on normalizing this? My thoughts were that a custom element validate for textareas or even something more generic. This would standardize the line endings to be "\n" in the input, and need to be done prior to the #maxlength validation

✨ Feature request
Status

Closed: works as designed

Version

11.0 πŸ”₯

Component
FormΒ  β†’

Last updated 23 minutes ago

Created by

πŸ‡¦πŸ‡ΊAustralia alan d.

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024