From 27207df254082875892d0ec188946656f232585a Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Thu, 9 Mar 2006 11:04:07 +0000 Subject: [PATCH] Fixed handling of admonitions that are children of Para element. Previously, handling of Caution, Important, Note, Tip, Warning fails if they are children of Para. The reason is that they are not included in the list of elements that we check when handling "mixed block" content. Fixed by adding them to the list. Closes bug #1446282. Thanks to Daniel Leidert for reporting. --- xsl/manpages/utility.xsl | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/xsl/manpages/utility.xsl b/xsl/manpages/utility.xsl index c8efaf39e..9b0a9144c 100644 --- a/xsl/manpages/utility.xsl +++ b/xsl/manpages/utility.xsl @@ -152,10 +152,13 @@ - + + + self::simplelist[@type !='inline']| + self::caution|self::important| + self::note|self::tip|self::warning)"> @@ -173,6 +176,11 @@ and normalize-space($content) != '' and not( preceding-sibling::*[1][ + self::caution or + self::important or + self::note or + self::tip or + self::warning or self::variablelist or self::glosslistlist or self::itemizedlist or @@ -199,8 +207,8 @@ - - + + -- 2.40.0