projects
/
platform
/
upstream
/
wayland.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e98924
)
doc: don't add a para for an empty summary
author
Peter Hutterer
<peter.hutterer@who-t.net>
Tue, 2 Apr 2013 00:08:55 +0000
(10:08 +1000)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Wed, 3 Apr 2013 18:44:12 +0000
(14:44 -0400)
Removes enough empty lines to cut the PDF down by 4 pages.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
doc/Wayland/protocol-to-docbook.xsl
patch
|
blob
|
history
diff --git
a/doc/Wayland/protocol-to-docbook.xsl
b/doc/Wayland/protocol-to-docbook.xsl
index
ca00efb
..
939ba40
100644
(file)
--- a/
doc/Wayland/protocol-to-docbook.xsl
+++ b/
doc/Wayland/protocol-to-docbook.xsl
@@
-95,9
+95,11
@@
<xsl:if test="name() = 'entry'" >
<para>Value: <xsl:value-of select="@value"/></para>
</xsl:if>
- <para>
- <xsl:value-of select="@summary"/>
- </para>
+ <xsl:if test="@summary" >
+ <para>
+ <xsl:value-of select="@summary"/>
+ </para>
+ </xsl:if>
</listitem>
</varlistentry>
</xsl:template>