summaryrefslogtreecommitdiff
path: root/src/gmdocument.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gmdocument.c')
-rw-r--r--src/gmdocument.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gmdocument.c b/src/gmdocument.c
index 0197ed99..fd13bc82 100644
--- a/src/gmdocument.c
+++ b/src/gmdocument.c
@@ -238,7 +238,12 @@ enum iGmLineType lineType_Rangecc(const iRangecc line) {
238 return text_GmLineType; 238 return text_GmLineType;
239 } 239 }
240 if (startsWith_Rangecc(line, "=>")) { 240 if (startsWith_Rangecc(line, "=>")) {
241 return link_GmLineType; 241 iRangecc trim = line;
242 trim_Rangecc(&trim);
243 if (size_Range(&trim) > 2) {
244 return link_GmLineType;
245 }
246 return text_GmLineType;
242 } 247 }
243 if (startsWith_Rangecc(line, "###")) { 248 if (startsWith_Rangecc(line, "###")) {
244 return heading3_GmLineType; 249 return heading3_GmLineType;