diff options
Diffstat (limited to 'xslt/dita/html/dita2html-block.xsl')
-rw-r--r-- | xslt/dita/html/dita2html-block.xsl | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/xslt/dita/html/dita2html-block.xsl b/xslt/dita/html/dita2html-block.xsl index 42f31f7f..e711707f 100644 --- a/xslt/dita/html/dita2html-block.xsl +++ b/xslt/dita/html/dita2html-block.xsl @@ -168,7 +168,7 @@ FIXME </xsl:call-template> </xsl:template> -<xsl:template mode="html.syntax.class.mode" match="&topic_codeblock;"> +<xsl:template mode="html.syntax.class.mode" match="&topic_codeblock; | &topic_screen;"> <xsl:param name="language" select="translate(@outputclass, 'ABCDEFGHIJKLMNOPQRSTUVWXYX', 'abcdefghijklmnopqrstuvwxyz')"/> @@ -185,6 +185,10 @@ FIXME <xsl:when test="$language = 'asciidoc' or $language = 'adoc'"> <xsl:text>asciidoc</xsl:text> </xsl:when> + <!-- Awk --> + <xsl:when test="$language = 'awk'"> + <xsl:text>awk</xsl:text> + </xsl:when> <!-- Bash --> <xsl:when test="$language = 'sh' or $language = 'bash' or $language = 'csh' or $language = 'bourne'"> @@ -246,7 +250,7 @@ FIXME <xsl:when test="$language = 'go'"> <xsl:text>go</xsl:text> </xsl:when> - <!-- Nginx --> + <!-- Haml --> <xsl:when test="$language = 'haml'"> <xsl:text>haml</xsl:text> </xsl:when> @@ -340,6 +344,10 @@ FIXME <xsl:when test="$language = 'scheme' or $language = 'scm'"> <xsl:text>scheme</xsl:text> </xsl:when> + <!-- Shell --> + <xsl:when test="$language = 'shell'"> + <xsl:text>shell</xsl:text> + </xsl:when> <!-- Smalltalk --> <xsl:when test="$language = 'smalltalk'"> <xsl:text>smalltalk</xsl:text> |