1
0
mirror of https://git.sr.ht/~cadence/bibliogram synced 2024-11-22 16:17:29 +00:00

fix crash in feeds with empty caption

This commit is contained in:
Jakob Wenzel 2021-02-18 22:01:43 +01:00 committed by Cadence Ember
parent 9b4f235355
commit 7fd90bce54
No known key found for this signature in database
GPG Key ID: BC1C2C61CF521B17

View File

@ -8,6 +8,7 @@ const TimelineChild = require("./TimelineChild")
require("../testimports")(collectors, TimelineChild, TimelineBaseMethods) require("../testimports")(collectors, TimelineChild, TimelineBaseMethods)
const rssDescriptionTemplate = compile(` const rssDescriptionTemplate = compile(`
if caption
each line in caption.split("\\n") each line in caption.split("\\n")
= line = line
br br