Welcome Guest Search | Active Topics | Sign In | Register

HtmlToPdf Hrefs in a wrapped line link to wrong URL Options
Brian F
Posted: Friday, December 28, 2012 5:15:32 PM
Rank: Newbie
Groups: Member

Joined: 12/28/2012
Posts: 3
I am using EO HtmlToPdf converter. When we have a simple paragraph containing a comma separated list of website links (hrefs)... and that sentence wraps to the next line, the links get jumbled up such that whatever link is lucky enough to be split onto the next line, becomes the url for the link(s) on the line above. Pretty strange? Try the following html:

Code: HTML/ASPX
Here is my list of links...<br />
<a href="http://msn.com/">This is a link to msn</a>, <a href="http://outlook.com/">this is a link to outlook.com</a>, <a href="http://campuslabs.com/">here's a link to campuslabs.com</a>, <a href="http://higherone.com/">here is a link to highreone.com</a>, <a href="http://geneseo.edu/">here's a link to good old Geneseo!!!</a><br />
<br />
These links should resolve to the correct web pages. They do not.  The rendered PDF links to higherone.com for msn.com and outlook.com links.


The links work fine when the text is not wrapped in the pdf. Any thoughts?

eo_support
Posted: Friday, December 28, 2012 5:22:54 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

Please check what version you are using. I believe this was a problem in older version but it is fixed in the newest version.

Thanks!
Brian F
Posted: Monday, December 31, 2012 10:03:02 AM
Rank: Newbie
Groups: Member

Joined: 12/28/2012
Posts: 3
Howdy, and thanks for the quick response,

I tried the latest release (4.0.50.2) and still see a problem with the links in a paragraph. I can see that things are improved. Now all of the links on the first line work correctly but the second link on the wrapped line brings up whatever link was continued onto that line. In my case the higherone.com link.

Can I send or attach an example pdf and the full html page I used to generate it?

Thx
Brian F
Posted: Wednesday, January 2, 2013 1:42:22 PM
Rank: Newbie
Groups: Member

Joined: 12/28/2012
Posts: 3
My bad. Things are working nicely with the newer release. Thanks!
eo_support
Posted: Wednesday, January 2, 2013 3:15:59 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Great. Glad to hear that it works for you!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.