weixin_39519798
2020-12-09 00:46 阅读 1

Duplicate hyperlink

Hi,

NodePDF creates a duplicate hyperlink on the PDF if one exists on the htlml page, any solution to this issue?

该提问来源于开源项目:TJkrusinski/NodePDF

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

5条回答 默认 最新

  • weixin_39640395 weixin_39640395 2020-12-09 00:46

    Hey, , can you describe the issue in more detail? Are you saying that it duplicates a elements on the page?

    点赞 评论 复制链接分享
  • weixin_39519798 weixin_39519798 2020-12-09 00:46

    thanks for the quick response, yes thats my problem, NodePDF is duplicating "a" elements besides the duplicate comes with brackets., please see below screenshot.

    screen shot 2014-10-07 at 7 40 34 pm

    thanks for you help.

    点赞 评论 复制链接分享
  • weixin_39640395 weixin_39640395 2020-12-09 00:46

    This is a strange one. It sounds like an issue with phantomjs rather than this package. I would google for issues with phantomjs rendering this stuff to 'screen' and see if anyone has anything. I'll leave it open and try and recreate the issue myself.

    点赞 评论 复制链接分享
  • weixin_39519798 weixin_39519798 2020-12-09 00:46

    Hi thanks again for the info. The issue was because of bootstrap, it has below selector in its print media css which was causing the issue, overriding this selector fixed my problem. a[href]:after { content: " (" attr(href) ")"; }

    点赞 评论 复制链接分享
  • weixin_39640395 weixin_39640395 2020-12-09 00:46

    Great. Makes sense.

    点赞 评论 复制链接分享

相关推荐