diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-11-17 16:18:26 -0500 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-11-17 16:18:26 -0500 |
commit | 6fe2ec0f5c3d9fe5780385c17aaf7370fe8efc24 (patch) | |
tree | fedc5b48234872b38b74e50d8769c581eb6bc90c /doc/tips/convert_mediawiki_to_ikiwiki.mdwn | |
parent | 6dd5f2e9c0722f502bed83b32c849a13283c26f9 (diff) | |
parent | 07dcf7d6e75705ff0601cb5b9dcf8f00d8093dde (diff) |
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Diffstat (limited to 'doc/tips/convert_mediawiki_to_ikiwiki.mdwn')
-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 45df683de..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) |