doc: don't add a para for an empty summary
authorPeter Hutterer <peter.hutterer@who-t.net>
Tue, 2 Apr 2013 00:08:55 +0000 (10:08 +1000)
committerKristian 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

index ca00efb..939ba40 100644 (file)
         <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>