forked from 0x2620/pandora
newlines in srt are explicit, fixes #634
This commit is contained in:
parent
aefd716615
commit
159b6dc746
3 changed files with 7 additions and 3 deletions
|
|
@ -1260,7 +1260,7 @@ class Item(models.Model):
|
|||
return ox.srt.encode([{
|
||||
'in': a.start,
|
||||
'out': a.end,
|
||||
'value': a.value
|
||||
'value': a.value.replace('<br/>', '<br>').replace('<br>\n', '\n').replace('<br>', '\n')
|
||||
} for a in self.annotations.filter(layer=layer).order_by('start', 'end', 'sortvalue')])
|
||||
|
||||
def delete_item(sender, **kwargs):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue