changeset 516:ec330d9ec20b

fixed double </a> with qm_noexist imported from: moin--main--1.5--patch-520
author Thomas Waldmann <tw@waldmann-edv.de>
date Tue, 28 Mar 2006 22:07:11 +0000
parents 1b9f0d6b9f48
children 39da9e68875c
files ChangeLog MoinMoin/formatter/text_html.py docs/CHANGES
diffstat 3 files changed, 16 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Mar 28 21:52:01 2006 +0000
+++ b/ChangeLog	Tue Mar 28 22:07:11 2006 +0000
@@ -2,6 +2,20 @@
 # arch-tag: automatic-ChangeLog--arch@arch.thinkmo.de--2003-archives/moin--main--1.5
 #
 
+2006-03-28 23:07:11 GMT	Thomas Waldmann <tw@waldmann-edv.de>	patch-520
+
+    Summary:
+      fixed double </a> with qm_noexist
+    Revision:
+      moin--main--1.5--patch-520
+
+    fixed double </a> with qm_noexist
+    
+
+    modified files:
+     ChangeLog MoinMoin/formatter/text_html.py docs/CHANGES
+
+
 2006-03-28 22:52:01 GMT	Thomas Waldmann <tw@waldmann-edv.de>	patch-519
 
     Summary:
--- a/MoinMoin/formatter/text_html.py	Tue Mar 28 21:52:01 2006 +0000
+++ b/MoinMoin/formatter/text_html.py	Tue Mar 28 22:07:11 2006 +0000
@@ -484,7 +484,6 @@
             See wikiutil.link_tag() for possible keyword parameters.
         """
         apply(FormatterBase.pagelink, (self, on, pagename, page), kw)
-        self.pagelink_preclosed = False
         if page is None:
             page = Page(self.request, pagename, formatter=self);
         if self.request.user.show_nonexist_qm and on and not page.exists():
@@ -493,6 +492,7 @@
                     self.text("?") +
                     page.link_to(self.request, on=0, **kw))
         elif not on and self.pagelink_preclosed:
+            self.pagelink_preclosed = False
             return ""
         else:
             return page.link_to(self.request, on=on, **kw)
--- a/docs/CHANGES	Tue Mar 28 21:52:01 2006 +0000
+++ b/docs/CHANGES	Tue Mar 28 22:07:11 2006 +0000
@@ -39,6 +39,7 @@
 
   Bugfixes:
     * fixed double class attribute for nonexistent links
+    * fixed double </a> with qm_noexist option
   
   Other changes:
     * moved back UserPreferences action link from menu to top of page (renaming