From 9b2ee6d6cc0957cd6efbbf7954012ab7e2bb63f7 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Wed, 24 Oct 2012 18:20:34 -0400 Subject: [PATCH] humbug_trac: Use block quotes for displaying comments. (imported from commit 0ac08177804340b1ff49d4f7c95813784d7ebcae) --- humbug_trac.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/humbug_trac.py b/humbug_trac.py index 1941b0a..b49f2a6 100644 --- a/humbug_trac.py +++ b/humbug_trac.py @@ -27,7 +27,7 @@ def markdown_ticket_url(ticket, heading="ticket"): return "[%s #%s](https://trac.humbughq.com/ticket/%s)" % (heading, ticket.id, ticket.id) def markdown_block(desc): - return "\n~~~~\n%s\n~~~~\n" % (desc,) + return "\n\n>" + "\n> ".join(desc.split("\n")) + "\n" def trac_subject(ticket): return "Trac #%s" % ticket.id