Skip to content

Commit afa66db

Browse files
committed
add more
1 parent 6e6ac9f commit afa66db

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

{{cookiecutter.project_slug}}/lib/sgml/shlomif-docbook/xsl-5-stylesheets/shlomif-essays-5-xhtml-common.xsl

+3-3
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@
157157
</xsl:choose>
158158
</xsl:template>
159159
<xsl:template name="is.graphic.extension">
160-
  <xsl:param name="ext"></xsl:param>
161-
  <xsl:variable name="lcext" select="translate($ext, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz')"/>
162-
  <xsl:if test="$lcext = 'svg' or $lcext = 'png' or $lcext = 'jpeg' or $lcext = 'jpg' or $lcext = 'avi' or $lcext = 'mpg' or $lcext = 'mp4' or $lcext = 'mpeg' or $lcext = 'qt' or $lcext = 'gif' or $lcext = 'acc' or $lcext = 'mp1' or $lcext = 'mp2' or $lcext = 'mp3' or $lcext = 'mp4' or $lcext = 'm4v' or $lcext = 'm4a' or $lcext = 'wav' or $lcext = 'ogv' or $lcext = 'ogg' or $lcext = 'webm' or $lcext = 'webp' or $lcext = 'bmp'">1</xsl:if>
160+
<xsl:param name="ext"/>
161+
<xsl:variable name="lcext" select="translate($ext, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz')"/>
162+
<xsl:if test="$lcext = 'svg' or $lcext = 'png' or $lcext = 'jpeg' or $lcext = 'jpg' or $lcext = 'avi' or $lcext = 'mpg' or $lcext = 'mp4' or $lcext = 'mpeg' or $lcext = 'qt' or $lcext = 'gif' or $lcext = 'acc' or $lcext = 'mp1' or $lcext = 'mp2' or $lcext = 'mp3' or $lcext = 'mp4' or $lcext = 'm4v' or $lcext = 'm4a' or $lcext = 'wav' or $lcext = 'ogv' or $lcext = 'ogg' or $lcext = 'webm' or $lcext = 'bmp' or $lcext = 'webp'">1</xsl:if>
163163
</xsl:template>
164164
</xsl:stylesheet>

0 commit comments

Comments
 (0)