changeset 1516:6900a7906244

added a comment about recursion in i18n code
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Fri, 01 Sep 2006 20:40:54 +0200
parents b3a47164c22a
children 23ac69c53779
files MoinMoin/i18n/__init__.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/i18n/__init__.py	Tue Aug 29 17:01:55 2006 +0200
+++ b/MoinMoin/i18n/__init__.py	Fri Sep 01 20:40:54 2006 +0200
@@ -195,7 +195,7 @@
                 if has_wikimarkup:
                     # use the wiki parser now to replace some wiki markup with html
                     try:
-                        uc_texts[ukey] = self.formatMarkup(request, utext)
+                        uc_texts[ukey] = self.formatMarkup(request, utext) # XXX RECURSION!!! Calls gettext via markup
                     except: # infinite recursion or crash
                         if debug:
                             request.log("i18n: crashes in language %s on string: %s" % (lang, text))