From 55f14a98af1ad2ecbcd76f8a45bd0b1128f1dad4 Mon Sep 17 00:00:00 2001 From: Mauritz Jeanson Date: Tue, 17 Mar 2009 16:26:23 +0000 Subject: [PATCH] Changed "ancestor::title" to "(ancestor::title and (@id or @xml:id))". This enables proper formatting of inline elements in titles in TOCs, as long as these inlines don't have id or xml:id attributes. --- xsl/common/titles.xsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xsl/common/titles.xsl b/xsl/common/titles.xsl index 2d87a9498..82f0d3f1a 100644 --- a/xsl/common/titles.xsl +++ b/xsl/common/titles.xsl @@ -653,7 +653,7 @@ title of the element. This does not include the label. descendant-or-self::olink or descendant-or-self::xref or descendant-or-self::indexterm or - ancestor::title"> + (ancestor::title and (@id or @xml:id))"> -- 2.40.0