summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gmdocument.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gmdocument.c b/src/gmdocument.c
index 11d477c1..dea7f345 100644
--- a/src/gmdocument.c
+++ b/src/gmdocument.c
@@ -306,8 +306,10 @@ static iBool isAllowedLinkIcon_Char_(iChar icon) {
306 } 306 }
307 return isPictograph_Char(icon) || isEmoji_Char(icon) || 307 return isPictograph_Char(icon) || isEmoji_Char(icon) ||
308 /* TODO: Add range(s) of 0x2nnn symbols. */ 308 /* TODO: Add range(s) of 0x2nnn symbols. */
309 icon == 0x2139 /* info */ || icon == 0x2191 /* up arrow */ || 309 icon == 0x2022 /* bullet */ ||
310 icon == 0x2022 /* bullet */ || icon == 0x2a2f /* close X */ || icon == 0x2b50; 310 icon == 0x2139 /* info */ ||
311 (icon >= 0x2190 && icon <= 0x21ff /* arrows */) ||
312 icon == 0x2a2f /* close X */ || icon == 0x2b50;
311} 313}
312 314
313static iRangecc addLink_GmDocument_(iGmDocument *d, iRangecc line, iGmLinkId *linkId) { 315static iRangecc addLink_GmDocument_(iGmDocument *d, iRangecc line, iGmLinkId *linkId) {