From 3386465680a6596320489c36a213f3080b3f0abf Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Aug 03 2015 19:52:24 +0000 Subject: '.md' is also a common extension for markdown files --- diff --git a/pagure/doc_utils.py b/pagure/doc_utils.py index 6765063..3b6914b 100644 --- a/pagure/doc_utils.py +++ b/pagure/doc_utils.py @@ -93,7 +93,7 @@ def convert_readme(content, ext, view_file_url=None): if ext and ext in ['.rst']: safe = True output = convert_doc(content, view_file_url) - elif ext and ext in ['.mk']: + elif ext and ext in ['.mk', '.md']: output = markdown.markdown(content) safe = True elif not ext or (ext and ext in ['.text', '.txt']):