changeset 5377:62984251a3cd

highlight parser: fix caching issue for toggle line numbers link
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 14 Dec 2009 00:52:03 +0100
parents af9872c96dcb
children b95d34820bc8
files MoinMoin/parser/highlight.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/parser/highlight.py	Sun Dec 13 23:44:51 2009 +0100
+++ b/MoinMoin/parser/highlight.py	Mon Dec 14 00:52:03 2009 +0100
@@ -19,7 +19,7 @@
 from MoinMoin.support.python_compatibility import hash_new
 from MoinMoin.Page import Page
 
-Dependencies = []
+Dependencies = ['user'] # the "Toggle line numbers link" depends on user's language
 extensions = []
 extension_re = re.compile(r'^\*(\..*$)')
 for name, short, patterns, mime in pygments.lexers.get_all_lexers():