escape
This commit is contained in:
parent
7e4fb473f5
commit
9fcffc4a1c
2
test.jsx
2
test.jsx
@ -25,7 +25,7 @@ function createChildren(style, useInlineStyles) {
|
||||
|
||||
function createElement({ node, style, useInlineStyles, key }) {
|
||||
const { properties, type, tagName, value } = node;
|
||||
if (type === "text") {
|
||||
if (type === "te\nxt") {
|
||||
return value;
|
||||
} else if (tagName) {
|
||||
const TagName = tagName;
|
||||
|
Loading…
Reference in New Issue
Block a user