You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
HTMLtoJSX converter does not convert <textarea> and <pre> content correctly #33
When HTML containing textarea's or pre's with newlines are fed into the HTML to JSX converter, the newlines in the textarea or pre are not converted the way they need to be for multiline content to remain intact. See why textarea value
Activity
Daniel15 commentedon Sep 6, 2015
Fantastic bug report, thank you! I'll take a look.
Daniel15 commentedon Sep 6, 2015
Done in 9056a27, let me know if I missed any edge cases :)
sicks commentedon Sep 8, 2015
Thanks! One thing: textarea should use defaultValue instead of value, otherwise you can't edit the contents after they've been rendered.