summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gmdocument.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gmdocument.c b/src/gmdocument.c
index 043d3259..b844c0f6 100644
--- a/src/gmdocument.c
+++ b/src/gmdocument.c
@@ -1908,9 +1908,9 @@ static void convertMarkdownToGemtext_GmDocument_(iGmDocument *d) {
1908 if (isLastEmpty) { 1908 if (isLastEmpty) {
1909 appendCStr_String(&result, "\n\n"); 1909 appendCStr_String(&result, "\n\n");
1910 } 1910 }
1911 else if (size_Range(&line) >= 2 && isnumber(line.start[0]) && 1911 else if (size_Range(&line) >= 2 && isdigit(line.start[0]) &&
1912 (line.start[1] == '.' || 1912 (line.start[1] == '.' ||
1913 (isnumber(line.start[1]) && line.start[2] == '.'))) { 1913 (isdigit(line.start[1]) && line.start[2] == '.'))) {
1914 appendCStr_String(&result, "\n\n"); 1914 appendCStr_String(&result, "\n\n");
1915 } 1915 }
1916 else if (endsWith_String(&result, " ") || 1916 else if (endsWith_String(&result, " ") ||