From 89e68106d5515af8087de3548c16d4a40eacf43d Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mar 20 2014 09:28:36 +0000 Subject: Fix the rst2html template filter to actually convert from rst to html --- diff --git a/progit/__init__.py b/progit/__init__.py index 4d5727e..a05ecb1 100644 --- a/progit/__init__.py +++ b/progit/__init__.py @@ -25,6 +25,7 @@ from functools import wraps from sqlalchemy.exc import SQLAlchemyError import progit.lib +import progit.doc_utils # Create the application. @@ -137,7 +138,7 @@ def lastcommit_date_filter(repo): def rst2html(rst_string): """ Template filter transforming rst text into html """ - return rst_string + return progit.doc_utils.convert_doc(rst_string) @APP.route('/login/', methods=('GET', 'POST'))