Skip to content

Commit 7372411

Browse files
committed
fix: rich text render node
1 parent 5afca32 commit 7372411

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/components/src/rich-text/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ function renderNodes(nodes?: NodesType): string {
5252
if (node.type === 'text') {
5353
result += node.text
5454
} else if (node.name) {
55-
result = `<${node.name}`
55+
result += `<${node.name}`
5656
if (node.attrs) {
5757
for (const key in node.attrs) {
5858
result += ` ${key}="${node.attrs[key]}"`

0 commit comments

Comments
 (0)