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

Eric Jiang <erji...@alumni.iu.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/mult
                   |                            |imedia/kdenlive/commit/61c7
                   |                            |35cd77b191440533a967511bb14
                   |                            |749e16017
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Eric Jiang <erji...@alumni.iu.edu> ---
Git commit 61c735cd77b191440533a967511bb14749e16017 by Eric Jiang.
Committed on 23/08/2022 at 05:50.
Pushed by mardelle into branch 'master'.

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
M  +8    -0    tests/subtitlestest.cpp

https://invent.kde.org/multimedia/kdenlive/commit/61c735cd77b191440533a967511bb14749e16017

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

Reply via email to