Skip to content

Commit

Permalink
fix(at): res[@type='geog'] wasn't converted into a popup.
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffroy-noel-ddh committed Jun 21, 2024
1 parent 230d91a commit da1cf5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion responses/at-tei-to-tei.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
</xsl:copy>
</xsl:template>

<xsl:template match="(*[@type='place']|tei:placeName|tei:geogName)[@ref]">
<xsl:template match="(*[@type='place']|*[@type='geog']|tei:placeName|tei:geogName)[@ref]">
<xsl:copy>
<xsl:apply-templates select="@*"/>
<xsl:apply-templates />
Expand Down
1 change: 1 addition & 0 deletions responses/tei-to-html.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@
<xsl:when test="../@type='oed'">Definition </xsl:when>
<xsl:when test="../@type='context'">Context </xsl:when>
<xsl:when test="../@type='person'">Person </xsl:when>
<xsl:when test="../@type='geog'">Place </xsl:when>
<xsl:when test="../name() = 'g'">Symbol </xsl:when>
<xsl:when test="ends-with(../name(), 'persName')">Person </xsl:when>
<xsl:when test="ends-with(../name(), 'placeName')">Place </xsl:when>
Expand Down

0 comments on commit da1cf5b

Please sign in to comment.