From 4807ec5dc37929a4e917fe4cc8e7ffc2b660541c Mon Sep 17 00:00:00 2001 From: lars Date: Thu, 16 Aug 2012 21:05:49 +0000 Subject: [PATCH] Ueberschriften nun auch im Markdown-Stil --- umfrage_kirchenplatz2012/src/umfrage.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/umfrage_kirchenplatz2012/src/umfrage.py b/umfrage_kirchenplatz2012/src/umfrage.py index ce65713..cdcbfd2 100644 --- a/umfrage_kirchenplatz2012/src/umfrage.py +++ b/umfrage_kirchenplatz2012/src/umfrage.py @@ -236,7 +236,7 @@ def get_answer_lines(answer): is_empty = True lines = [] lines.append("") - lines.append("== %s ==" % answer.option.title) + lines.append("## %s" % answer.option.title) if answer.quality: is_empty = False lines.append("Bewertung: %s (%s)" % (answer.quality, @@ -267,7 +267,7 @@ def get_summary_text(session): continue answers.sort(key=lambda item: item.option.weight) lines.append("") - lines.append("= %s =" % question.text) + lines.append("# %s" % question.text) for answer in answers: lines.extend(get_answer_lines(answer)) lines.append("")