Fix content model listing when text content is allowed.
--- a/publish.xsl Wed Jul 25 01:40:33 2012 +1000
+++ b/publish.xsl Mon Jul 30 11:16:33 2012 +1000
@@ -1127,7 +1127,7 @@
<xsl:apply-templates select='x:contentmodel/node()'/>
</xsl:when>
<xsl:when test='@contentmodel=("textoranyof", "anyof", "oneormoreof")'>
- <xsl:value-of select='if (@contentmodel="oneormoreof") then "One or more" else "Any number"'/> of the following elements<xsl:if test='textoranyof'> or character data</xsl:if>, in any order:
+ <xsl:value-of select='if (@contentmodel="oneormoreof") then "One or more" else "Any number"'/> of the following elements<xsl:if test='@contentmodel="textoranyof"'> or character data</xsl:if>, in any order:
<ul class='no-bullets'>
<xsl:for-each select='tokenize(@elementcategories, ", ")'>
<xsl:variable name='category' select='$defs/x:elementcategory[@name=current()]'/>