@@ -522,6 +522,11 @@ namespace libmatroska {
522522 <xsl : with-param name =" label" select =" concat(substring-before($label, ' [@?'), ' (', substring-before(substring-after($label, ' [@?'), ']'), ')', substring-after(substring-after($label, ' [@?'), ']'))" />
523523 </xsl : call-template >
524524 </xsl : when >
525+ <xsl : when test =" contains($label,' `')" >
526+ <xsl : call-template name =" cleanEnumDoc" >
527+ <xsl : with-param name =" label" select =" concat(substring-before($label, ' `'), ' ', substring-before(substring-after($label, ' `'), '`'), '', substring-after(substring-after($label, ' `'), '`'))" />
528+ </xsl : call-template >
529+ </xsl : when >
525530 <xsl : when test =" contains($label,'; see usage notes')" >
526531 <xsl : call-template name =" cleanEnumDoc" >
527532 <xsl : with-param name =" label" select =" concat(substring-before($label, '; see usage notes'), substring-after($label, '; see usage notes'))" />
@@ -546,6 +551,11 @@ namespace libmatroska {
546551 <xsl : with-param name =" label" select =" concat(substring-before($label, ' [@?'), ' ', substring-before(substring-after($label, ' [@?'), ']'), '', substring-after(substring-after($label, ' [@?'), ']'))" />
547552 </xsl : call-template >
548553 </xsl : when >
554+ <xsl : when test =" contains($label,' `')" >
555+ <xsl : call-template name =" cleanEnumDoc" >
556+ <xsl : with-param name =" label" select =" concat(substring-before($label, ' `'), ' ', substring-before(substring-after($label, ' `'), '`'), '', substring-after(substring-after($label, ' `'), '`'))" />
557+ </xsl : call-template >
558+ </xsl : when >
549559 <xsl : otherwise >
550560 <xsl : value-of select =" $label" />
551561 </xsl : otherwise >
0 commit comments