diff --git a/pandora/item/models.py b/pandora/item/models.py index 284834dac..1b8afcdc5 100644 --- a/pandora/item/models.py +++ b/pandora/item/models.py @@ -1617,7 +1617,7 @@ class Item(models.Model): value = value.replace('
', '
').replace('
\n', '\n').replace('
', '\n') value = value.replace('\n\n', '
\n') return value - annotations = self.annotations.filter(layer=layer) + annotations = self.annotations.filter(layer=layer).exclude(value='') if language: annotations = annotations.filter(languages__contains=language) return ox.srt.encode([{