diff options
Diffstat (limited to 'src/gmdocument.c')
-rw-r--r-- | src/gmdocument.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gmdocument.c b/src/gmdocument.c index 884f8c07..9d79830b 100644 --- a/src/gmdocument.c +++ b/src/gmdocument.c | |||
@@ -236,7 +236,12 @@ enum iGmLineType lineType_Rangecc(const iRangecc line) { | |||
236 | return text_GmLineType; | 236 | return text_GmLineType; |
237 | } | 237 | } |
238 | if (startsWith_Rangecc(line, "=>")) { | 238 | if (startsWith_Rangecc(line, "=>")) { |
239 | return link_GmLineType; | 239 | iRangecc trim = line; |
240 | trim_Rangecc(&trim); | ||
241 | if (size_Range(&trim) > 2) { | ||
242 | return link_GmLineType; | ||
243 | } | ||
244 | return text_GmLineType; | ||
240 | } | 245 | } |
241 | if (startsWith_Rangecc(line, "###")) { | 246 | if (startsWith_Rangecc(line, "###")) { |
242 | return heading3_GmLineType; | 247 | return heading3_GmLineType; |