Skip to content

HTMLtoJSX converter does not convert <textarea> and <pre> content correctly #33

Closed
@sicks

Description

@sicks

Here's a fiddle

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

JSX whitespace coalescing rules end up being applied when the result is rendered.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions