Closed lianzhao closed 1 year ago
thanks @lianzhao - I was able to reproduce this, and I think I know what's wrong Thanks for the heads-up!
I'm stuck-behind a big release, so It may be a few weeks before a fix for this is released.
cheers
let str = `
right of the Aon is not present.
<div style="float:left; padding-right:1em">__TOC__</div>
`
let doc = wtf(str)
console.log(doc.text())
this is fixed now in 10.0.3. cheers
My wiki text contains something like
<div style="float:left; padding-right:1em">__TOC__</div>
. And When I call.text()
, I got HTML tag like<div style="float:left; padding-right:1em">...
.Here's my
index.mjs
node index.mjs // print 'true', expect 'false'