From 7eb991484127a8c79b8db76743d2d63ee47e79ca Mon Sep 17 00:00:00 2001 From: Albert Krewinkel Date: Fri, 13 Mar 2020 09:43:13 +0100 Subject: Jira reader: support colored inline text, indented lists * Support for colored inlines has been added. * Lists are now allowed to be indented; i.e., lists are still recognized if list markers are preceded by spaces. Closes: #6183, #6184 --- test/Tests/Readers/Jira.hs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/Tests') diff --git a/test/Tests/Readers/Jira.hs b/test/Tests/Readers/Jira.hs index 220bd8069..0deec3865 100644 --- a/test/Tests/Readers/Jira.hs +++ b/test/Tests/Readers/Jira.hs @@ -96,6 +96,10 @@ tests = "HCO ~3~^-^" =?> para ("HCO " <> subscript "3" <> superscript "-") + , "color" =: + "This is {color:red}red{color}." =?> + para ("This is " <> spanWith ("", [], [("color", "red")]) "red" <> ".") + , "linebreak" =: "first\nsecond" =?> para ("first" <> linebreak <> "second") -- cgit v1.2.3