aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2020-04-09 15:31:54 +0200
committerAlbert Krewinkel <albert@zeitkraut.de>2020-04-09 16:21:45 +0200
commitc09a3448d148baec94ba9feb67b209ef584f9678 (patch)
tree3b0704b088c10b4f793ed0768064d376b659894b /src/Text/Pandoc/Readers
parent11df2a3c0f2b1b8e351ad8caaa7cdf583e1b3b2e (diff)
downloadpandoc-c09a3448d148baec94ba9feb67b209ef584f9678.tar.gz
Jira reader: improve icon conversion
Icons are now converted as follows: `(/)` to ✔, `(x)` to ❌, `(!)` to ❗, `(+)` to ➕, `(-)` to ➖, `(off)` to 🌙, and `(*)` to ☆. The new icons render well in most fonts. Furthermore, the UTF-8 characters all fit into 4-bytes. Closes: #6264
Diffstat (limited to 'src/Text/Pandoc/Readers')
-rw-r--r--src/Text/Pandoc/Readers/Jira.hs24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/Text/Pandoc/Readers/Jira.hs b/src/Text/Pandoc/Readers/Jira.hs
index 46723f944..d0900fd08 100644
--- a/src/Text/Pandoc/Readers/Jira.hs
+++ b/src/Text/Pandoc/Readers/Jira.hs
@@ -182,18 +182,18 @@ iconUnicode = \case
Jira.IconThumbsUp -> "👍"
Jira.IconThumbsDown -> "👎"
Jira.IconInfo -> "ℹ"
- Jira.IconCheckmark -> "✓"
- Jira.IconX -> "🅇"
- Jira.IconAttention -> "⚠"
- Jira.IconPlus -> "⊞"
- Jira.IconMinus -> "⊟"
- Jira.IconQuestionmark -> "﹖"
+ Jira.IconCheckmark -> "✔"
+ Jira.IconX -> "❌"
+ Jira.IconAttention -> "❗"
+ Jira.IconPlus -> "➕"
+ Jira.IconMinus -> "➖"
+ Jira.IconQuestionmark -> "❓"
Jira.IconOn -> "💡"
- Jira.IconOff -> "💡"
- Jira.IconStar -> "★"
- Jira.IconStarRed -> "★"
- Jira.IconStarGreen -> "★"
- Jira.IconStarBlue -> "★"
- Jira.IconStarYellow -> "★"
+ Jira.IconOff -> "🌙"
+ Jira.IconStar -> "⭐"
+ Jira.IconStarRed -> "⭐"
+ Jira.IconStarGreen -> "⭐"
+ Jira.IconStarBlue -> "⭐"
+ Jira.IconStarYellow -> "⭐"
Jira.IconFlag -> "⚑"
Jira.IconFlagOff -> "⚐"