ttmlparse: Store newline as text of br element
authorChris Bass <floobleflam@gmail.com>
Tue, 25 Apr 2017 14:10:22 +0000 (15:10 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 25 Apr 2017 19:18:53 +0000 (22:18 +0300)
commitef65230b466dd064425c5440b316e3fed0bc3ead
tree1930dde2c38fb25eb60d7abc3e58ed523e968f74
parent81157e5168e9890c879639b002d060bce4cc4ec7
ttmlparse: Store newline as text of br element

When parsing <br> elements, store an actual newline in the text field of
the created TtmlElement. They then don't need to be treated as a
separate case from anon-span elements when being processed.

https://bugzilla.gnome.org/show_bug.cgi?id=781725
ext/ttml/ttmlparse.c