diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2021-05-24 09:56:02 +0200 |
---|---|---|
committer | Albert Krewinkel <albert@zeitkraut.de> | 2021-05-24 09:56:02 +0200 |
commit | 58fbf56548bf985b40e4338befaf5b11a0665cbe (patch) | |
tree | 9b5323b9e5be708a10c4caae16fa2411e30178bf /test/Tests/Writers | |
parent | c5f9446646a9add4a339a49ac8165e16474fa898 (diff) | |
download | pandoc-58fbf56548bf985b40e4338befaf5b11a0665cbe.tar.gz |
Jira writer: use `{color}` when span has a color attribute
Closes: tarleb/jira-wiki-markup#10
Diffstat (limited to 'test/Tests/Writers')
-rw-r--r-- | test/Tests/Writers/Jira.hs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Tests/Writers/Jira.hs b/test/Tests/Writers/Jira.hs index 0c6f48853..d8e856e34 100644 --- a/test/Tests/Writers/Jira.hs +++ b/test/Tests/Writers/Jira.hs @@ -67,6 +67,10 @@ tests = [ "id is used as anchor" =: spanWith ("unicorn", [], []) (str "Unicorn") =?> "{anchor:unicorn}Unicorn" + + , "use `color` attribute" =: + spanWith ("",[],[("color","red")]) "ruby" =?> + "{color:red}ruby{color}" ] , testGroup "code" |