diff --git a/webvtt/writers.py b/webvtt/writers.py index 5ec551b..91c13d8 100644 --- a/webvtt/writers.py +++ b/webvtt/writers.py @@ -25,7 +25,7 @@ def write(self, captions, f): f.write('{}\n'.format(line_number)) f.write('{} --> {}\n'.format(self._to_srt_timestamp(caption.start_in_seconds), self._to_srt_timestamp(caption.end_in_seconds))) - f.writelines(['{}\n'.format(l) for l in caption.lines]) + f.write('{}\n'.format(caption.text)) f.write('\n') def _to_srt_timestamp(self, total_seconds):