[snowy] HTML Export fix from Stefan Schweizer, copied from Tomboy.
- From: Sanford Armstrong <sharm src gnome org>
- To: svn-commits-list gnome org
- Subject: [snowy] HTML Export fix from Stefan Schweizer, copied from Tomboy.
- Date: Mon, 29 Jun 2009 15:34:19 +0000 (UTC)
commit 6ef6b8977531cd84ecda203526652e7502658d00
Author: Sandy Armstrong <sanfordarmstrong gmail com>
Date: Sun Jun 28 07:43:06 2009 -0700
HTML Export fix from Stefan Schweizer, copied from Tomboy.
The bullet did not show up, when the first list item only consisted of a
link. This patch extends the check for list items that are intended more
than once by testing if the only child element is a list.
Closes: bgo#422954.
data/note2xhtml.xsl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/data/note2xhtml.xsl b/data/note2xhtml.xsl
index fc6e9be..5f6465b 100644
--- a/data/note2xhtml.xsl
+++ b/data/note2xhtml.xsl
@@ -106,7 +106,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]