summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2016-11-02 10:07:07 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2016-11-02 10:07:07 (GMT)
commit9cacd6c00c4bb3c020a4e6e32ba61fcc436edeb8 (patch)
treee70a3cf2e772d06497ea51af25b59008b3e6adbf
parent01a7bd6f00177d8e841f5d5e9e8877f3b5f678e8 (diff)
downloadtabellioOOo-9cacd6c00c4bb3c020a4e6e32ba61fcc436edeb8.zip
tabellioOOo-9cacd6c00c4bb3c020a4e6e32ba61fcc436edeb8.tar.gz
tabellioOOo-9cacd6c00c4bb3c020a4e6e32ba61fcc436edeb8.tar.bz2
legi2pdf: only keep column opens if followed by a legistic section (#10328)
-rw-r--r--legi2pdf/xsl/section.xsl6
1 files changed, 3 insertions, 3 deletions
diff --git a/legi2pdf/xsl/section.xsl b/legi2pdf/xsl/section.xsl
index 65b381a..dbd0c7b 100644
--- a/legi2pdf/xsl/section.xsl
+++ b/legi2pdf/xsl/section.xsl
@@ -258,9 +258,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
the columns open and they'll get closed when the end-of-document
processing instruction will be met.
-->
- <xsl:when test="not(following-sibling::legistic_title)"></xsl:when>
- <xsl:when test="not(following-sibling::legistic_chapter)"></xsl:when>
- <xsl:when test="not(following-sibling::legistic_section)"></xsl:when>
+ <xsl:when test="following-sibling::legistic_title"></xsl:when>
+ <xsl:when test="following-sibling::legistic_chapter"></xsl:when>
+ <xsl:when test="following-sibling::legistic_section"></xsl:when>
<xsl:otherwise>
<xsl:text>\end{multicols}&#10;</xsl:text>
</xsl:otherwise>