summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2022-02-07 22:44:35 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2022-02-07 22:44:35 +0200
commit9c40f9045bcd40ee04bc78689babc7cc4d7bde59 (patch)
tree24930029d00c3bde4253de77a632454fe87403dc /src
parent8b4dbac197dd630cd58af9cd34aaeb15e7584c29 (diff)
GmDocument: Added more link icons
The U+2Bnn symbols are accepted as link icons.
Diffstat (limited to 'src')
-rw-r--r--src/gmdocument.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gmdocument.c b/src/gmdocument.c
index 6fa275a8..38077689 100644
--- a/src/gmdocument.c
+++ b/src/gmdocument.c
@@ -316,7 +316,8 @@ static iBool isAllowedLinkIcon_Char_(iChar icon) {
316 icon == 0x2022 /* bullet */ || 316 icon == 0x2022 /* bullet */ ||
317 icon == 0x2139 /* info */ || 317 icon == 0x2139 /* info */ ||
318 (icon >= 0x2190 && icon <= 0x21ff /* arrows */) || 318 (icon >= 0x2190 && icon <= 0x21ff /* arrows */) ||
319 icon == 0x2a2f /* close X */ || icon == 0x2b50; 319 icon == 0x2a2f /* close X */ ||
320 (icon >= 0x2b00 && icon <= 0x2bff);
320} 321}
321 322
322static iRangecc addLink_GmDocument_(iGmDocument *d, iRangecc line, iGmLinkId *linkId) { 323static iRangecc addLink_GmDocument_(iGmDocument *d, iRangecc line, iGmLinkId *linkId) {