From: Karim Hamidou Date: Tue, 8 Mar 2016 16:35:37 +0000 (-0800) Subject: don't render the twice X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=d1e0c19b2054d3e9630f30c6435a18c55c320194;p=rfcspot.git don't render the twice --- diff --git a/src/render_rfc.py b/src/render_rfc.py index 4391c75e..93ff5f32 100644 --- a/src/render_rfc.py +++ b/src/render_rfc.py @@ -80,7 +80,7 @@ def create_paragraphs(data): paragraph = match.group(0) escaped_raw = paragraph.replace('"', '\"') - return """

{}

""".format(escaped_raw, paragraph) + return """

{}

""".format(paragraph) data = paragraph_regexp.sub(format_match, data)