You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any way to get the equivalent of .HTML(), but excluding the element's own markup (just like JS' .innerHMTL), without having to resort to regex?
An example:
element.HTML() yields <p><a href="square-cover-art.jpeg">My <em>wacky</em> label with <strong>bold</strong> and <code>code</code> and stuff “hmmm”</a></p>
I want to get <a href="square-cover-art.jpeg">My <em>wacky</em> label with <strong>bold</strong> and <code>code</code> and stuff “hmmm”</a>
I guess I could iterate over element.Children() and concatenate each child's .HTML(), but I think having a .InnerHTML() would make things nicer (and a tad better when it comes to performance I guess)
I'm willing to make a PR :)
The text was updated successfully, but these errors were encountered:
Is there any way to get the equivalent of
.HTML()
, but excluding the element's own markup (just like JS'.innerHMTL
), without having to resort to regex?An example:
element.HTML()
yields<p><a href="square-cover-art.jpeg">My <em>wacky</em> label with <strong>bold</strong> and <code>code</code> and stuff “hmmm”</a></p>
I want to get
<a href="square-cover-art.jpeg">My <em>wacky</em> label with <strong>bold</strong> and <code>code</code> and stuff “hmmm”</a>
I guess I could iterate over
element.Children()
and concatenate each child's.HTML()
, but I think having a.InnerHTML()
would make things nicer (and a tad better when it comes to performance I guess)I'm willing to make a PR :)
The text was updated successfully, but these errors were encountered: