https://bugs.kde.org/show_bug.cgi?id=457878

Jean-Baptiste Mardelle <j...@kdenlive.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/mult |https://invent.kde.org/mult
                   |imedia/kdenlive/commit/61c7 |imedia/kdenlive/commit/6e6d
                   |35cd77b191440533a967511bb14 |06dd2d010ea88160783bc89f751
                   |749e16017                   |c25a868cd

--- Comment #6 from Jean-Baptiste Mardelle <j...@kdenlive.org> ---
Git commit 6e6d06dd2d010ea88160783bc89f751c25a868cd by Jean-Baptiste Mardelle,
on behalf of Eric Jiang.
Committed on 05/09/2022 at 06:37.
Pushed by mardelle into branch 'release/22.08'.

Don't remove consecutive spaces in SRT subtitles

The Kdenlive UI allows you to add multiple spaces between words in
subtitles. This displays correctly in the UI and is preserved when
saving the SRT file, but the spaces are removed when opening the SRT
file.

Changing line.simplified() to line.trimmed() seems to fix the round-trip
issue.

M  +1    -1    src/bin/model/subtitlemodel.cpp
A  +4    -0    tests/dataset/multiple-spaces.srt

https://invent.kde.org/multimedia/kdenlive/commit/6e6d06dd2d010ea88160783bc89f751c25a868cd

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to