Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道用于文件的行尾因操作系统而异。我想知道,如果用户将文本粘贴到诸如 textarea 之类的 http 表单输入中,发送的行尾字符是否以同样的方式取决于操作系统?
不,浏览器应该规范化行尾。