Skip to content

Commit

Permalink
tag Annot added for File Attachment annotation, metanorma/mn2pdf#293
Browse files Browse the repository at this point in the history
  • Loading branch information
Intelligent2013 committed Sep 27, 2024
1 parent 0000231 commit 2d25fde
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions xslt_src/common.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -12431,6 +12431,9 @@
<xsl:call-template name="insert_basic_link">
<xsl:with-param name="element">
<fo:basic-link external-destination="{$target}" fox:alt-text="{$target}">
<xsl:if test="$isLinkToEmbeddedFile = 'true'">
<xsl:attribute name="role">Annot</xsl:attribute>
</xsl:if>
<xsl:choose>
<xsl:when test="normalize-space(.) = ''">
<xsl:call-template name="add-zero-spaces-link-java">
Expand Down

0 comments on commit 2d25fde

Please sign in to comment.