diff options
author | Jon Dowland <jon@alcopop.org> | 2009-11-17 15:56:42 +0000 |
---|---|---|
committer | Jon Dowland <jon@alcopop.org> | 2009-11-17 15:56:42 +0000 |
commit | 07dcf7d6e75705ff0601cb5b9dcf8f00d8093dde (patch) | |
tree | ad24675cd0644a54b8790c25c3299b82eefb360a | |
parent | 182043667058d302d33aefa12dcb8678799d7fc7 (diff) | |
download | ikiwiki-07dcf7d6e75705ff0601cb5b9dcf8f00d8093dde.tar ikiwiki-07dcf7d6e75705ff0601cb5b9dcf8f00d8093dde.tar.gz |
shuffle commit symbol around
-rw-r--r-- | doc/tips/convert_mediawiki_to_ikiwiki.mdwn | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/tips/convert_mediawiki_to_ikiwiki.mdwn b/doc/tips/convert_mediawiki_to_ikiwiki.mdwn index 3b8e5043c..9719d9a7e 100644 --- a/doc/tips/convert_mediawiki_to_ikiwiki.mdwn +++ b/doc/tips/convert_mediawiki_to_ikiwiki.mdwn @@ -118,7 +118,7 @@ into an ikiwiki tag name using a script such as pattern = r'\[\[Category:([^\]]+)\]\]' def manglecat(mo): - return '[\[!tag %s]]' % mo.group(1).strip().replace(' ','_') + return '\[[!tag %s]]' % mo.group(1).strip().replace(' ','_') for line in sys.stdin.readlines(): res = re.match(pattern, line) |