Closed nswbmw closed 6 years ago
.outerHtml() wiil break <pre><div>...</div></pre>, add needless spaces and \n in <pre></pre>?
.outerHtml()
<pre><div>...</div></pre>
\n
<pre></pre>
fixed by use:
<style> pre { white-space: normal; } </style>
.outerHtml()
wiil break<pre><div>...</div></pre>
, add needless spaces and\n
in<pre></pre>
?