diff MoinMoin/converter/text_html_text_moin_wiki.py @ 1318:760002b5ffa3

use url_prefix_static = '/moin_static160' instead of url_prefix = '/wiki' to avoid user confusion and stale caches
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Fri, 18 Aug 2006 23:23:27 +0200
parents e1e1885deec1
children b3a47164c22a
line wrap: on
line diff
--- a/MoinMoin/converter/text_html_text_moin_wiki.py	Fri Aug 18 21:20:15 2006 +0200
+++ b/MoinMoin/converter/text_html_text_moin_wiki.py	Fri Aug 18 23:23:27 2006 +0200
@@ -1192,7 +1192,7 @@
                               wikiutil.url_unquote(title),
                               self.white_space])
         # Smiley
-        elif src and (self.request.cfg.url_prefix in src or '../' in src) and "img/" in src: # XXX this is dirty!
+        elif src and (self.request.cfg.url_prefix_static in src or '../' in src) and "img/" in src: # XXX this is dirty!
             filename = src.split("/")[-1]
             for markup, data in self.request.theme.icons.iteritems():
                 if data[1] == filename: