views:

26

answers:

0

while parsing html source with nekohtml whether it parses anchor tag with block elements like div h1 etc.. correctly.

For example: (HTML source)

<a href="http://www.abc.com"&gt;link&lt;div&gt;example&lt;a href="http://www.ghj.com"&gt;ghj link</a></div><h1>link here</h1></a>

Expected Result(After parsing)

<a href="http://www.abc.com"&gt;link&lt;/a&gt;&lt;div&gt;example&lt;a href="http://www.ghj.com"&gt;ghj link</a></div><h1>link here</h1>

To get this expected result what nekohtml parser settings i've to use.

Please clarify my doubt. Thanks in advance.