Quantcast
Channel: htmlagilitypack Forum Rss Feed
Viewing all articles
Browse latest Browse all 655

New Post: Couple questions about Html Agility Pack - Sanitize Html

$
0
0

Hi folks!

I have couple questions, hope you all help me.

1)Html Agility Pack closed all unclosed tags, can i'm change this behaviour?

i mean:

 

<someTag class="qwerty">
  <b class="someClass">
      <b class="someClass"> 
      </b>
  </b>

Will be closed at the end and we will get:
<someTag class="qwerty">
  <b class="someClass">
      <b class="someClass"> 
      </b>
  </b>
</someTag>

Can Html Agility Pack close tag in same line? Like this:
<someTag class="qwerty"></someTag>
  <b class="someClass">
      <b class="someClass"> 
      </b>
  </b>

When i'm remove elements(tags) remain empty spaces, how can i solve do not leave blanks? Thanks.

Viewing all articles
Browse latest Browse all 655

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>