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:
parent
a177e6cb3f
commit
d92ab353fd
@ -8,7 +8,8 @@ const TimelineChild = require("./TimelineChild")
|
|||||||
require("../testimports")(collectors, TimelineChild, TimelineBaseMethods)
|
require("../testimports")(collectors, TimelineChild, TimelineBaseMethods)
|
||||||
|
|
||||||
const rssDescriptionTemplate = compile(`
|
const rssDescriptionTemplate = compile(`
|
||||||
each line in caption.split("\\n")
|
if caption
|
||||||
|
each line in caption.split("\\n")
|
||||||
= line
|
= line
|
||||||
br
|
br
|
||||||
each child in children
|
each child in children
|
||||||
|
Loading…
Reference in New Issue
Block a user