From e2cd2368f7f4c698d7a2059f3198a743f477dbc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= Date: Sun, 6 Feb 2011 23:45:53 +0200 Subject: [PATCH] removing unsupported macros --- moin2doku.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/moin2doku.py b/moin2doku.py index 21868d3..39bf601 100755 --- a/moin2doku.py +++ b/moin2doku.py @@ -132,6 +132,8 @@ def convert_markup(content, filename): # Macros and another foolish - simply remove # macros ('<<.+?>>', ''), + ('\[\[Anchor\(\w+\)\]\]', ''), + ('\[\[(PageCount|RandomPage)\]\]', ''), # ('\["', '[['), # internal link open # ('"\]', ']]'), # internal link close