diff options
Diffstat (limited to 'src/mimehooks.c')
-rw-r--r-- | src/mimehooks.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mimehooks.c b/src/mimehooks.c index 364449ec..4788d534 100644 --- a/src/mimehooks.c +++ b/src/mimehooks.c | |||
@@ -209,7 +209,9 @@ iBlock *translateGemPubCoverPage_(const iBlock *source, const iString *requestUr | |||
209 | if (open_Gempub(gempub, source)) { | 209 | if (open_Gempub(gempub, source)) { |
210 | setBaseUrl_Gempub(gempub, requestUrl); | 210 | setBaseUrl_Gempub(gempub, requestUrl); |
211 | output = newCStr_Block("20 text/gemini; charset=utf-8\r\n"); | 211 | output = newCStr_Block("20 text/gemini; charset=utf-8\r\n"); |
212 | append_Block(output, collect_Block(coverPageSource_Gempub(gempub))); | 212 | iString *src = coverPageSource_Gempub(gempub); |
213 | append_Block(output, utf8_String(src)); | ||
214 | delete_String(src); | ||
213 | } | 215 | } |
214 | delete_Gempub(gempub); | 216 | delete_Gempub(gempub); |
215 | return output; | 217 | return output; |