From d156b2d4e087b9dc4284e70b4c98a2e4d313abd7 Mon Sep 17 00:00:00 2001 From: Castro0o Date: Thu, 7 May 2015 16:57:37 +0200 Subject: [PATCH] wpi --- mmdc_modules.py | 2 +- web/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mmdc_modules.py b/mmdc_modules.py index 8a3c9d4..79c47e5 100644 --- a/mmdc_modules.py +++ b/mmdc_modules.py @@ -121,7 +121,7 @@ def pandoc2html(mw_content): gallery_exp=re.compile('(.*?)', re.S) -imgfile_exp=re.compile('(File:(.*?)\.(gif|jpg|jpeg|png))') +imgfile_exp=re.compile('(File:(.*?)\.(gif|jpg|jpeg|png|svg))') def replace_gallery(content): content = re.sub(imgfile_exp, '[[\g<1>]]', content) #add [[ ]] to File:.*? diff --git a/web/index.html b/web/index.html index 38376e1..8ed69c3 100644 --- a/web/index.html +++ b/web/index.html @@ -102,7 +102,7 @@ <div class="item video flash"><img src="img/project_roel2.png"></div> <div class="item narrative"><img src="img/project_andre.jpeg"></div--> -
+