From 9aa4203c7efd5ef1015eb32eca5e0764a5afe183 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Sun, 23 Apr 2017 13:54:21 +0200 Subject: Add Markdown support to package comments Support Markdown syntax in package comments. Among other things, this makes it easier to paste command line output and patches. Signed-off-by: Lukas Fleischer --- test/t2600-rendercomment.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/t2600-rendercomment.sh b/test/t2600-rendercomment.sh index 8d79336d..50a5adb9 100755 --- a/test/t2600-rendercomment.sh +++ b/test/t2600-rendercomment.sh @@ -11,7 +11,8 @@ test_expect_success 'Test comment rendering.' ' EOD "$RENDERCOMMENT" 1 && cat <<-EOD >expected && - Hello world!
This is a comment. +

Hello world!
+ This is a comment.

EOD cat <<-EOD | sqlite3 aur.db >actual && SELECT RenderedComment FROM PackageComments WHERE ID = 1; -- cgit v1.2.3-24-g4f1b