diff options
| author | Daiderd Jordan <daiderd@gmail.com> | 2021-10-23 15:05:52 +0200 |
|---|---|---|
| committer | Daiderd Jordan <daiderd@gmail.com> | 2021-10-23 15:06:42 +0200 |
| commit | 44da835ac40dab5fd231298b59d83487382d2fab (patch) | |
| tree | 38759adb4565c164518441b6759960e11f1e61c1 /doc | |
| parent | 8dfeb92ec1b217898f9cf9f64421120b2a20fed4 (diff) | |
add forward compatibility for literalExample deprecation
Fixes #367
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/manual/options-to-docbook.xsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/manual/options-to-docbook.xsl b/doc/manual/options-to-docbook.xsl index a65aa62..74fb270 100644 --- a/doc/manual/options-to-docbook.xsl +++ b/doc/manual/options-to-docbook.xsl @@ -62,7 +62,7 @@ <emphasis>Example:</emphasis> <xsl:text> </xsl:text> <xsl:choose> - <xsl:when test="attr[@name = 'example']/attrs[attr[@name = '_type' and string[@value = 'literalExample']]]"> + <xsl:when test="attr[@name = 'example']/attrs[attr[@name = '_type' and string[@value = 'literalExpression']]]"> <programlisting><xsl:value-of select="attr[@name = 'example']/attrs/attr[@name = 'text']/string/@value" /></programlisting> </xsl:when> <xsl:otherwise> @@ -162,7 +162,7 @@ </xsl:template> - <xsl:template match="attrs[attr[@name = '_type' and string[@value = 'literalExample']]]"> + <xsl:template match="attrs[attr[@name = '_type' and string[@value = 'literalExpression']]]"> <xsl:value-of select="attr[@name = 'text']/string/@value" /> </xsl:template> |
