1 |
commit: 4954fe81ac60278b04eadc15eef3d8fff677cb3b |
2 |
Author: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 30 00:29:31 2016 +0000 |
4 |
Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 31 01:09:40 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=4954fe81 |
7 |
|
8 |
devbook.xsl: add support for disabling word-wrapping for table items |
9 |
|
10 |
devbook.xsl | 4 ++++ |
11 |
1 file changed, 4 insertions(+) |
12 |
|
13 |
diff --git a/devbook.xsl b/devbook.xsl |
14 |
index 654a7af..3d40d7c 100644 |
15 |
--- a/devbook.xsl |
16 |
+++ b/devbook.xsl |
17 |
@@ -104,6 +104,10 @@ |
18 |
<xsl:if test="@rowspan"> |
19 |
<xsl:attribute name="rowspan"><xsl:value-of select="@rowspan"/></xsl:attribute> |
20 |
</xsl:if> |
21 |
+ <xsl:if test="@nowrap"> |
22 |
+ <!-- Disable word wrapping for this table item. Usage: <ti nowrap="nowrap"> --> |
23 |
+ <xsl:attribute name="nowrap"><xsl:value-of select="@nowrap"/></xsl:attribute> |
24 |
+ </xsl:if> |
25 |
<xsl:apply-templates/> |
26 |
</td> |
27 |
</xsl:template> |