aboutsummaryrefslogtreecommitdiff
path: root/trac2md.py
diff options
context:
space:
mode:
Diffstat (limited to 'trac2md.py')
-rwxr-xr-xtrac2md.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/trac2md.py b/trac2md.py
index c7cf85e..37c70ba 100755
--- a/trac2md.py
+++ b/trac2md.py
@@ -73,12 +73,12 @@ class Trac2Markdown:
self.source_url = source_url
self.pattern_actions = (
- # Convert CamelCase links to explicit links
- (self.camelcase_pattern, r"[[\1]]"),
-
# Convert TracLinks to WikiCreole syntax to simplify remaining processing
(re.compile(r"(?<!\[)\[([^][]+)\]"), self.convert_to_creole),
+ # Convert CamelCase links to explicit links
+ (self.camelcase_pattern, r"[[\1]]"),
+
# Convert !x quoting
(re.compile(r"!((?:\w|[#])+)"), r"\1"),