xiCO2k opened this issue 3 years ago · 0 comments
After the PR #89, the render('text') is converted to a <p> tag by the DOMDocument class.
render('text')
<p>
DOMDocument
Add RegExp to detect is there is no HTML on the string, and ignore the call of loadHtml.
loadHtml