diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2008-03-12 11:47:01 +0000 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2009-02-13 00:01:41 +0200 |
commit | 40e253bcb59b9098c223ba48a7481edeb6c89f5c (patch) | |
tree | 063034d9233254bfb2e70d2a1cd7a0a71999d321 /tools | |
parent | 55ab81bec06cfe4d56ec0084d3aa3d4a665d6bab (diff) |
Allow rationale to be mixed in with HTML in docstrings
Diffstat (limited to 'tools')
-rw-r--r-- | tools/doc-generator.xsl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/doc-generator.xsl b/tools/doc-generator.xsl index 8fd4dd3..6e6869e 100644 --- a/tools/doc-generator.xsl +++ b/tools/doc-generator.xsl @@ -40,11 +40,10 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA </xsl:template> <xsl:template match="tp:docstring"> - <xsl:apply-templates select="text() | html:*" mode="html"/> - <xsl:apply-templates select="tp:rationale"/> + <xsl:apply-templates select="text() | html:* | tp:rationale" mode="html"/> </xsl:template> - <xsl:template match="tp:rationale"> + <xsl:template match="tp:rationale" mode="html"> <div xmlns="http://www.w3.org/1999/xhtml" class="rationale"> <xsl:apply-templates select="node()" mode="html"/> </div> |