Skip to content

Commit

Permalink
A non-working attempt to fix #597
Browse files Browse the repository at this point in the history
This branch generated by Stylesheets group 2024-01-26 in an attempt to fix #597. It works, in that the custom documentation generated by the 'bin/teitohtml --odd' command has the desired links in the ODD content model section. HOWEVER, it fails in that the same links disappear from the Guidelines when generated with this “fix”.
  • Loading branch information
sydb committed Jan 26, 2024
1 parent ef14844 commit 7b4c27a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions common/verbatim.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ of this software, even if advised of the possibility of such damage.
<p>Copyright: 2013, TEI Consortium</p>
</desc>
</doc>
<xsl:import href="../odds/teiodds.xsl"/>
<xsl:import href="../odds/odd2relax.xsl"/>
<xsl:strip-space elements="teix:* rng:* xsl:* xhtml:* atom:* m:*"/>
<xsl:param name="useNSPrefixes">true</xsl:param>
<xsl:param name="spaceCharacter">&#160;</xsl:param>
Expand Down Expand Up @@ -710,9 +712,9 @@ of this software, even if advised of the possibility of such damage.
<xsl:text>="</xsl:text>
<xsl:choose>
<xsl:when test="$ref-link">
<xsl:call-template name="RefLinkAttributeValue">
<xsl:with-param name="content">
<xsl:apply-templates select="@value" mode="attributetext"/>
<xsl:call-template name="linkTogether">
<xsl:with-param name="name">
<xsl:apply-templates select="@value" mode="attributetext"/> <!-- is this right!!?? -->
</xsl:with-param>
</xsl:call-template>
</xsl:when>
Expand Down

0 comments on commit 7b4c27a

Please sign in to comment.