We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<textarea>
DOMParser
\r
var t=document.createElement('textarea'); t.value='\r\n'; console.log(t.value.length);//logs 1
'\r\n' → '\n' '\r' → '\n' this is bad because doing nothing and pressing back in many dialogs can actually change stuff!
'\r\n'
'\n'
'\r'
back
The text was updated successfully, but these errors were encountered:
also DOMParser:
console.log(new DOMParser().parseFromString('<x>\r\n</x>','application/xml').documentElement.textContent.length);//logs 1
but
console.log(new DOMParser().parseFromString('<x> </x>','application/xml').documentElement.textContent.length);//logs 2
Sorry, something went wrong.
many changes:
a4e9a0a
•replace toggler+textarea with AdvTextArea •handle \r better (see issue #1) •replace tbd_set_disabled with set_loading •redesign string editor •more console helpers
No branches or pull requests
'\r\n'
→'\n'
'\r'
→'\n'
this is bad because doing nothing and pressingback
in many dialogs can actually change stuff!The text was updated successfully, but these errors were encountered: