Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is a problem with converting the href tag to pdf #967

Open
LuoHpeng opened this issue Mar 29, 2024 · 3 comments
Open

There is a problem with converting the href tag to pdf #967

LuoHpeng opened this issue Mar 29, 2024 · 3 comments

Comments

@LuoHpeng
Copy link

html file

<title>11231</title>
 <style>
           body {
             font-size: 14px;
             line-height:  32.0px;
             padding: 0 20px;
             margin: 0;
            font-family:'阿里巴巴普惠体 3.0 45 Light'; }

           .split {
             margin: 0 6px;
           }

           .content {
             white-space: pre-wrap;
             word-break: break-word;
             padding-bottom:  100.0px;
           }

           .link {
             font-size: 16px;
             color: #5A7DA9;
             font-weight: 500;
             text-decoration: unset;
             padding-bottom: 24px;
           }

           .title {
             font-weight: bold;
             font-size:  32.0px;
             text-align:  center;
             padding-top:  16.0px;
             padding-bottom:  16.0px;
             color: #333333;
           }

           .desc {
             font-size:  20.0px ;
           }

           .version {
             font-size:  20.0px ;
             display:  none ;
           }

           .gmtUpdate {
             font-size:  20.0px ;
             display:  block ;
           }

           .gmtEffect {
             font-size:  20.0px ;
             display:  block ;
           }

           .paragraph {
             position: relative;
             margin: 0;
             margin: 0;
             padding: 0;
           }

           .y9-bold {
             font-weight: bold;
           }

           .y9-italic {
             font-style: italic;
           }

           .y9-underline {
             text-decoration: underline;
           }

           .y9-strikethrough {
             text-decoration: line-through;
           }

           .y9-underline-strikethrough {
             text-decoration: underline line-through;
           }

           .y9-link {
             display: inline-block;
             color:  #E86452;
           }

           .y9-rich-table {
             width: 100%;
             table-layout: fixed;
             border-collapse: collapse;
             border-spacing: 0;
             margin: 24px 0;
             text-align: left;
           }

           .y9-rich-table-header {
             position: relative;
             color: #000000d9;
             font-weight: bold;
           }

           .y9-rich-table-cell {
             position: relative;
             display: table-cell;
             padding: 16px;
             vertical-align: inherit;
             overflow-wrap: break-word;
             border: 1px solid rgb(239, 239, 239);
           }

           .y9-chapter {
             font-weight:  normal;
             text-align:  left;
             font-size:  36.0px;
             line-height:  32.0px;
             padding-top:  16.0px;
             padding-bottom:  16.0px;
             color: #000;
           }
           .y9-variable {
             font-size:  20.0px ;
           }
     </style>
11231
版本: 5.0.1
更新时间: 2024-03-29
生效时间: 2024-03-30

适用范围

(以下简称“”或“我们”),一向重视用户(“您”)的个人信息及隐私的保护,我们深知个人信息对您的重要性,并严格遵循法律法规,竭力保障您的信息安全。鉴于此,我们制定本(下称“本隐私政策”)并提醒您:本隐私政策适用于如下向您提供的产品或服务,以及所对应的各项个人信息处理活动,包括但不限于:(以下统称“产品或服务”)。您在使用我们的产品或服务时,我们会收集和使用您相关的个人信息,我们希望通过本隐私政策向您说明我们在您使用我们的产品或服务时如何收集、使用、保存、提供、删除、共享和转让这些个人信息,以及我们为您提供的查询、复制、删除和保护这些信息的方式。

如果您有任何疑问、意见、或建议,请通过以下联系方式与我们联系:

目录

重点说明

信息收集及使用

委托、共享、转让和公开披露

个人信息保护

您的权利

未成年人保护

信息跨境

政策更新

联系我们

html display effect
image
pdf display effect

image
@siegelzc
Copy link

You need to repost your code inside a code block so it can be read.

@LuoHpeng
Copy link
Author

<html lang="zh-CN">
 <head>
   <meta charset="UTF-8" />
   <meta http-equiv="X-UA-Compatible" content="IE=edge" />
   <meta name="viewport" content="width=device-width, initial-scale=1.0" />
   <title>11231</title>

    <style>
              body {
                font-size: 14px;
                line-height:  32.0px;
                padding: 0 20px;
                margin: 0;
               font-family:'阿里巴巴普惠体 3.0 45 Light'; }

              .split {
                margin: 0 6px;
              }

              .content {
                white-space: pre-wrap;
                word-break: break-word;
                padding-bottom:  100.0px;
              }

              .link {
                font-size: 16px;
                color: #5A7DA9;
                font-weight: 500;
                text-decoration: unset;
                padding-bottom: 24px;
              }

              .title {
                font-weight: bold;
                font-size:  32.0px;
                text-align:  center;
                padding-top:  16.0px;
                padding-bottom:  16.0px;
                color: #333333;
              }

              .desc {
                font-size:  20.0px ;
              }

              .version {
                font-size:  20.0px ;
                display:  none ;
              }

              .gmtUpdate {
                font-size:  20.0px ;
                display:  block ;
              }

              .gmtEffect {
                font-size:  20.0px ;
                display:  block ;
              }

              .paragraph {
                position: relative;
                margin: 0;
                margin: 0;
                padding: 0;
              }

              .y9-bold {
                font-weight: bold;
              }

              .y9-italic {
                font-style: italic;
              }

              .y9-underline {
                text-decoration: underline;
              }

              .y9-strikethrough {
                text-decoration: line-through;
              }

              .y9-underline-strikethrough {
                text-decoration: underline line-through;
              }

              .y9-link {
                display: inline-block;
                color:  #E86452;
              }

              .y9-rich-table {
                width: 100%;
                table-layout: fixed;
                border-collapse: collapse;
                border-spacing: 0;
                margin: 24px 0;
                text-align: left;
              }

              .y9-rich-table-header {
                position: relative;
                color: #000000d9;
                font-weight: bold;
              }

              .y9-rich-table-cell {
                position: relative;
                display: table-cell;
                padding: 16px;
                vertical-align: inherit;
                overflow-wrap: break-word;
                border: 1px solid rgb(239, 239, 239);
              }

              .y9-chapter {
                font-weight:  normal;
                text-align:  left;
                font-size:  36.0px;
                line-height:  32.0px;
                padding-top:  16.0px;
                padding-bottom:  16.0px;
                color: #000;
              }
              .y9-variable {
                font-size:  20.0px ;
              }
        </style>


 </head>
 <body style="direction:  ltr ;">
   <div class="title" style="">11231</div>
   <div class="version" style=""> 版本: 5.0.1</div>
   <div class="gmtUpdate" style=""> 更新时间: 2024-03-29</div>
   <div class="gmtEffect" style=""> 生效时间: 2024-03-30</div>
   <div class="content"><p id="适用范围" class="paragraph y9-chapter" style="display:block"><span>适用范围</span></p><p class="paragraph" style=""><span class=" " style="">        </span><span class="y9-variable" style=""></span><span class=" " style="">(以下简称“</span><span class="y9-variable" style=""></span><span class=" " style="">”或“我们”),一向重视用户(“您”)的个人信息及隐私的保护,我们深知个人信息对您的重要性,并严格遵循法律法规,竭力保障您的信息安全。鉴于此,我们制定本</span><span class="y9-variable" style=""></span><span class=" " style="">(下称“本隐私政策”)并提醒您:本隐私政策适用于如下向您提供的产品或服务,以及所对应的各项个人信息处理活动,包括但不限于:</span><span class="y9-variable" style=""></span><span class=" " style="">(以下统称“产品或服务”)。您在使用我们的产品或服务时,我们会收集和使用您相关的个人信息,我们希望通过本隐私政策向您说明我们在您使用我们的产品或服务时如何收集、使用、保存、提供、删除、共享和转让这些个人信息,以及我们为您提供的查询、复制、删除和保护这些信息的方式。</span></p><p class="paragraph" style=""><span class=" " style="">        </span><span class=" " style="">如果您有任何疑问、意见、或建议,请通过以下联系方式与我们联系:</span></p><p id="目录" class="paragraph y9-chapter" style="display:block"><span>目录</span></p><p class="paragraph" style=""><a href="#重点说明" class="y9-link"><span class=" " style="padding-left: 2em;">重点说明</span></a></p><p class="paragraph" style=""><a href="#信息收集及使用" class="y9-link"><span class=" " style="padding-left: 2em;">信息收集及使用</span></a></p><p class="paragraph" style=""><a href="#委托、共享、转让和公开披露" class="y9-link"><span class=" " style="padding-left: 2em;">委托、共享、转让和公开披露</span></a></p><p class="paragraph" style=""><a href="#个人信息保护" class="y9-link"><span class=" " style="padding-left: 2em;">个人信息保护</span></a></p><p class="paragraph" style=""><a href="#您的权利" class="y9-link"><span class=" " style="padding-left: 2em;">您的权利</span></a></p><p class="paragraph" style=""><a href="#未成年人保护" class="y9-link"><span class=" " style="padding-left: 2em;">未成年人保护</span></a></p><p class="paragraph" style=""><a href="#信息跨境" class="y9-link"><span class=" " style="padding-left: 2em;">信息跨境</span></a></p><p class="paragraph" style=""><a href="#政策更新" class="y9-link"><span class=" " style="padding-left: 2em;">政策更新</span></a></p><p class="paragraph" style=""><a href="#联系我们" class="y9-link"><span class=" " style="padding-left: 2em;">联系我们</span></a></p></div>
 </body>
</html>

@LuoHpeng
Copy link
Author

You need to repost your code inside a code block so it can be read.

The html file information is already in the comments section. Thank you for your help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants