Paragraph /Document GetText returns HYPERLINK \l <link>

Hi,
I’m having problems with html links added to a document builder - when I read the text back I get HYPERLINK \l inside the text. This is what I’m doing:
------
string someHtml = “test”;
builder.InsertHtml(someHtml);
string text = builder.Document.GetText() -> returns "HYPERLINK \l “BLOCKED SCRIPT…” test "
-------
I expect to get back just “test”. Any ideas what can be wrong ? (the Aspose.words version is 3.7.0.0).
Thanks, Paul

Hi
Thanks for your inquiry. Hyperlink is inserted into the document as field. That’s why you get this text. You can try using the following snippet.
string text = builder.Document.ToTxt();
Hope this helps.
Best regards.