1
Vote

Relative links are being removed

description

Hi,

I'm trying to use NSoup.dll (v0.7.1.0) in an asp.net web app for a couple of pages that accept HTML input.
The problem I'm facing is that, for relative links, the href att is being removed.
For example, when I enter:

<A href="/ABC/example/mypage.aspx?id=1234"><FONT size=1 face=Arial>click here</FONT></A>

what is actually saved is:

<a><font size="1" face="Arial">click here</font></a>

From what I've seen in the documentation, there's a method called preserveRelativeLinks within the WhiteList class, but I can't find it.
Is there a newer version than 0.7.1.0 of NSoup?

I'd appreciate any help you could provide.

Regards,
F

comments