Browse Source

xep.xsl: render status Draft as Stable in dd

master
Jonas Schäfer 1 year ago
parent
commit
3f5fd31323
  1. 5
      xep.xsl

5
xep.xsl

@ -262,7 +262,10 @@ content: "XEP-<xsl:value-of select='/xep/header/number'/>"; @@ -262,7 +262,10 @@ content: "XEP-<xsl:value-of select='/xep/header/number'/>";
<dd>&#169; 1999 &#x2013; 2021 XMPP Standards Foundation. <a href='#appendix-legal'>SEE LEGAL NOTICES</a>.</dd>
<dt>Status</dt>
<dd>
<p><xsl:value-of select='/xep/header/status'/></p>
<p><xsl:choose>
<xsl:when test='string(/xep/header/status) = "Draft"'>Stable</xsl:when>
<xsl:otherwise><xsl:value-of select='/xep/header/status'/></xsl:otherwise>
</xsl:choose></p>
<xsl:call-template name='status-notice'>
<xsl:with-param name='thestatus' select='/xep/header/status'/>
<xsl:with-param name='thetype' select='/xep/header/type'/>

Loading…
Cancel
Save