Anchor Tag is not working again with HtmlFragment

It appears that this issue has been raised and fixed on 2 previous occasions:

It appears that this issue may have reverted and has stopped working again. When rendering a HtmlFragment containing an anchored hyperlink (ie <a href="http://www.google.com.au"/>), the link is broken and points back to the document location itself and not the destination of the reference.

Can you please update the latest version to re-include the fix that was done on the previous 2 occasions

Thanks

@kslamaker

These two tickets are different as in one case HtmlFragment was not working for the link when adding inside a Table and other issue was related to HtmlFragment being added in Paragraphs collection of the Page. Would you please share a sample code snippet which you are using and noticing the issue. We will further proceed to assist you accordingly.

Here is a simplified version of the code, just adding an achor when rendering a HtmlFragment.

    // where htmlString contains:
    //
    // <p>Go to <a href="http://www.google.com">Google</a> for information</p>
    //
    var htmlFragment = new HtmlFragment(htmlString);

    var floatingBox = new FloatingBox();
    floatingBox.Paragraphs.Add(htmlFragment);

    page.Paragraphs.Add(floatingBox);

@kslamaker

It seems like the issue occurs only when HtmlFragment is added inside a floating box. The anchor tag works when HtmlFragment is added directly to the Page. Nevertheless, we have logged an issue as PDFNET-49074 in our issue tracking system for the sake of rectification. We will look into its details and keep you posted with the status of its resolution. Please be patient and spare us some time.

We are sorry for the inconvenience.

The issues you have found earlier (filed as PDFNET-49074) have been fixed in Aspose.PDF for .NET 20.12.