commit:     4954fe81ac60278b04eadc15eef3d8fff677cb3b
Author:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 30 00:29:31 2016 +0000
Commit:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Mon Oct 31 01:09:40 2016 +0000
URL:        https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=4954fe81

devbook.xsl: add support for disabling word-wrapping for table items

 devbook.xsl | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/devbook.xsl b/devbook.xsl
index 654a7af..3d40d7c 100644
--- a/devbook.xsl
+++ b/devbook.xsl
@@ -104,6 +104,10 @@
       <xsl:if test="@rowspan">
        <xsl:attribute name="rowspan"><xsl:value-of 
select="@rowspan"/></xsl:attribute>
       </xsl:if>
+      <xsl:if test="@nowrap">
+       <!-- Disable word wrapping for this table item. Usage: <ti 
nowrap="nowrap"> -->
+       <xsl:attribute name="nowrap"><xsl:value-of 
select="@nowrap"/></xsl:attribute>
+      </xsl:if>
       <xsl:apply-templates/>
     </td>
   </xsl:template>

Reply via email to