In our application we insert a hyperlink to a word document. In most cases this works good but the problem is that if we try to insert a hyperlink with a few lines of text then the result is that Aspose creates a link per line, for example:
we insert this:
builder.InsertHyperlink("first line\r\nsecond line", "http://www.google.com", false);
the result is 2 links: one with “first line” text and second link has “second line” text. I would expect one link with entire text inside.
Here is a sample app to reproduce this problem:
WordTest.zip (485.2 KB)
After you open it in VS, please set an Aspose license and run the app. Choose a destination folder and press a button. New Html file will be generated with two links instead of one.
If you need more info, please let me know.
Thanks