From 7df0710094b521c52f7e312751fe90890768f76c Mon Sep 17 00:00:00 2001
From: Albert Krewinkel <albert@zeitkraut.de>
Date: Tue, 31 Mar 2020 10:00:49 +0200
Subject: Jira reader: use span with class `underline` for inserted text

Jira text which is marked as `+inserted+` is converted into pandoc's
default representation for underlined text: a span with class
`underline`. Previously, the span was marked with the non-standard class
`inserted`.

Closes: #6237
---
 test/Tests/Readers/Jira.hs | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'test')

diff --git a/test/Tests/Readers/Jira.hs b/test/Tests/Readers/Jira.hs
index 1ae3244ab..05fc9a3ab 100644
--- a/test/Tests/Readers/Jira.hs
+++ b/test/Tests/Readers/Jira.hs
@@ -126,6 +126,10 @@ tests =
       let attr = ("", [], [("align", "right"), ("vspace", "4")])
       in para $ imageWith attr "image.gif" "Hello" mempty
 
+    , "inserted text" =:
+      "+the new version+" =?>
+      para (spanWith ("", ["underline"], []) "the new version")
+
     , "HTML entity" =:
       "me &amp; you" =?> para "me & you"
 
-- 
cgit v1.2.3