diff options
Diffstat (limited to 'src/gmdocument.c')
-rw-r--r-- | src/gmdocument.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gmdocument.c b/src/gmdocument.c index 4f4546f2..5d02ee05 100644 --- a/src/gmdocument.c +++ b/src/gmdocument.c | |||
@@ -256,10 +256,12 @@ static iRangecc addLink_GmDocument_(iGmDocument *d, iRangecc line, iGmLinkId *li | |||
256 | if ((len = decodeBytes_MultibyteChar(desc.start, desc.end, &icon)) > 0) { | 256 | if ((len = decodeBytes_MultibyteChar(desc.start, desc.end, &icon)) > 0) { |
257 | if (desc.start + len < desc.end && | 257 | if (desc.start + len < desc.end && |
258 | (isPictograph_Char(icon) || isEmoji_Char(icon) || | 258 | (isPictograph_Char(icon) || isEmoji_Char(icon) || |
259 | /* TODO: Add range(s) of 0x2nnn symbols. */ | ||
259 | icon == 0x2139 /* info */ || | 260 | icon == 0x2139 /* info */ || |
260 | icon == 0x2191 /* up arrow */ || | 261 | icon == 0x2191 /* up arrow */ || |
261 | icon == 0x2022 /* bullet */ || | 262 | icon == 0x2022 /* bullet */ || |
262 | icon == 0x2a2f /* close X */) && | 263 | icon == 0x2a2f /* close X */ || |
264 | icon == 0x2b50) && | ||
263 | !isFitzpatrickType_Char(icon)) { | 265 | !isFitzpatrickType_Char(icon)) { |
264 | link->flags |= iconFromLabel_GmLinkFlag; | 266 | link->flags |= iconFromLabel_GmLinkFlag; |
265 | link->labelIcon = (iRangecc){ desc.start, desc.start + len }; | 267 | link->labelIcon = (iRangecc){ desc.start, desc.start + len }; |