From ab84bc58fc265007aeca38c53c020761b4bf58c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= Date: Sun, 6 Feb 2011 19:30:12 +0200 Subject: [PATCH] fix tags, make it compatible for pasting back to dokuwiki page --- moin2doku.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/moin2doku.py b/moin2doku.py index b26f6d6..e2d3ffb 100755 --- a/moin2doku.py +++ b/moin2doku.py @@ -82,8 +82,8 @@ def convert_page(page, file): #('(\[\[.*\]\]).*\]', '\\1'), ('\[(http.*) .*\]', '[[\\1]]'), # web link ('\["/(.*)"\]', '[['+file[-1]+':\\1]]'), - ('\{{3}', '<>code>'), # code open - ('\}{3}', '<>/code>'), # code close + ('\{{3}', '<'+'code>'), # code open + ('\}{3}', '<'+'/code>'), # code close ('^\s\s\s\s\*', ' *'), ('^\s\s\s\*', ' *'), ('^\s\s\*', ' *'),