[gnote] Display first bullet in HTML export (Tomboy bug #422954) (tb-backport)



commit 1ef3aa631c0cc3d86fc603e54f90a4aba1ac66c3
Author: Hubert Figuiere <hub figuiere net>
Date:   Fri Jul 17 16:20:03 2009 -0400

    Display first bullet in HTML export (Tomboy bug #422954) (tb-backport)

 src/addins/exporttohtml/exporttohtml.xsl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/addins/exporttohtml/exporttohtml.xsl b/src/addins/exporttohtml/exporttohtml.xsl
index 2e02c5d..9122c27 100644
--- a/src/addins/exporttohtml/exporttohtml.xsl
+++ b/src/addins/exporttohtml/exporttohtml.xsl
@@ -147,7 +147,7 @@
 
 <xsl:template match="tomboy:list-item">
 	<li>
-		<xsl:if test="normalize-space(text()) = ''">
+		<xsl:if test="normalize-space(text()) = '' and count(tomboy:list) = 1 and count(*) = 1">
 			<xsl:attribute name="style">list-style-type: none</xsl:attribute>
 		</xsl:if>
 		<xsl:attribute name="dir">



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]