better todo display (using @desc)

This commit is contained in:
skyanth
2018-10-23 14:35:02 +02:00
parent 2b97d75524
commit 14425c47d6
+9 -1
View File
@@ -452,7 +452,15 @@
</xsl:template>
<xsl:template match="todo">
<fo:inline xsl:use-attribute-sets="errortext">###TODO###</fo:inline>
<xsl:choose>
<xsl:when test="@desc">
<fo:inline xsl:use-attribute-sets="errortext">### TODO: <xsl:value-of select="@desc"
/> ###</fo:inline>
</xsl:when>
<xsl:otherwise>
<fo:inline xsl:use-attribute-sets="errortext">### TODO ###</fo:inline>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="checkPlaceholder">