-
Notifications
You must be signed in to change notification settings - Fork 103
Open
Description
html string:
<pre>
<code>
1
2
3
4
5
<span>a</span>
<span>b</span>
<span>c</span>
</code>
</pre>outputs:
<pre><code>
1
2
3
4
5
<span>a</span><span>b</span><span>c</span></code></pre>expected outputs:
<pre><code>
1
2
3
4
5
<span>a</span>
<span>b</span>
<span>c</span></code></pre>the a, b, c in pre in not in one line (as pre will keep the line break), but the parsed result puts them together
react-html-parser version: "2.0.2"
Metadata
Metadata
Assignees
Labels
No labels