mirror of
https://git.sr.ht/~cadence/bibliogram
synced 2024-11-22 08:07:30 +00:00
fix crash in feeds with empty caption
This commit is contained in:
parent
9b4f235355
commit
7fd90bce54
@ -8,9 +8,10 @@ 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
|
||||||
= line
|
each line in caption.split("\\n")
|
||||||
br
|
= line
|
||||||
|
br
|
||||||
each child in children
|
each child in children
|
||||||
!= child.getFeedItem()
|
!= child.getFeedItem()
|
||||||
`)
|
`)
|
||||||
|
Loading…
Reference in New Issue
Block a user