aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2020-03-31 10:00:49 +0200
committerAlbert Krewinkel <albert@zeitkraut.de>2020-03-31 10:04:55 +0200
commit7df0710094b521c52f7e312751fe90890768f76c (patch)
treeb4e851833a2e86ad4a4429dfe472860633699e9f /test
parentff9be6b38429b502b1582f2395b824305eb8c99c (diff)
downloadpandoc-7df0710094b521c52f7e312751fe90890768f76c.tar.gz
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
Diffstat (limited to 'test')
-rw-r--r--test/Tests/Readers/Jira.hs4
1 files changed, 4 insertions, 0 deletions
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"