diff options
Diffstat (limited to 'src/mimehooks.c')
-rw-r--r-- | src/mimehooks.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mimehooks.c b/src/mimehooks.c index c097bd1f..eb379106 100644 --- a/src/mimehooks.c +++ b/src/mimehooks.c | |||
@@ -142,7 +142,8 @@ static iBlock *translateAtomXmlToGeminiFeed_(const iString *mime, const iBlock * | |||
142 | appendCStr_String(&out, cstr_Lang("feeds.atom.translated")); | 142 | appendCStr_String(&out, cstr_Lang("feeds.atom.translated")); |
143 | appendCStr_String(&out, "\n\n"); | 143 | appendCStr_String(&out, "\n\n"); |
144 | iRegExp *datePattern = | 144 | iRegExp *datePattern = |
145 | iClob(new_RegExp("^([0-9][0-9][0-9][0-9]-[0-1][0-9]-[0-3][0-9])(T|\\s).*", caseSensitive_RegExpOption)); | 145 | iClob(new_RegExp("^\\s*([0-9][0-9][0-9][0-9]-[0-1][0-9]-[0-3][0-9])(T|\\s).*", |
146 | caseSensitive_RegExpOption)); | ||
146 | iBeginCollect(); | 147 | iBeginCollect(); |
147 | iConstForEach(PtrArray, i, &feed->children) { | 148 | iConstForEach(PtrArray, i, &feed->children) { |
148 | iEndCollect(); | 149 | iEndCollect(); |