summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mimehooks.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mimehooks.c b/src/mimehooks.c
index c9aed9bb..3b3c0d1a 100644
--- a/src/mimehooks.c
+++ b/src/mimehooks.c
@@ -113,6 +113,9 @@ static iBlock *translateAtomXmlToGeminiFeed_(const iString *mime, const iBlock *
113 if (!isEmpty_String(subtitle)) { 113 if (!isEmpty_String(subtitle)) {
114 appendFormat_String(&out, "## %s\n\n", cstr_String(subtitle)); 114 appendFormat_String(&out, "## %s\n\n", cstr_String(subtitle));
115 } 115 }
116 appendCStr_String(&out,
117 "This Atom XML document has been automatically translated to a Gemini feed "
118 "to allow subscribing to it.\n\n");
116 iRegExp *datePattern = 119 iRegExp *datePattern =
117 iClob(new_RegExp("^([0-9][0-9][0-9][0-9]-[0-1][0-9]-[0-3][0-9])T.*", caseSensitive_RegExpOption)); 120 iClob(new_RegExp("^([0-9][0-9][0-9][0-9]-[0-1][0-9]-[0-3][0-9])T.*", caseSensitive_RegExpOption));
118 iBeginCollect(); 121 iBeginCollect();
@@ -166,9 +169,6 @@ static iBlock *translateAtomXmlToGeminiFeed_(const iString *mime, const iBlock *
166 cstr_String(title)); 169 cstr_String(title));
167 } 170 }
168 iEndCollect(); 171 iEndCollect();
169 appendCStr_String(&out,
170 "This Atom XML document has been automatically translated to a Gemini feed "
171 "to allow subscribing to it.\n");
172 output = copy_Block(utf8_String(&out)); 172 output = copy_Block(utf8_String(&out));
173 deinit_String(&out); 173 deinit_String(&out);
174finished: 174finished: