Skip to content

Commit

Permalink
Change apostrophes in lyrics to typographer's apostrophes
Browse files Browse the repository at this point in the history
  • Loading branch information
DeinAlptraum committed Jun 30, 2024
1 parent 7808898 commit 9ac4da4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/QUMainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,7 @@ QString QUMainWindow::cleanLyrics(QString rawLyricsString) {
// replace misused accents (´,`) by the correct apostrophe (')
rawLyricsString = rawLyricsString.replace("´", "'");
rawLyricsString = rawLyricsString.replace("`", "'");
rawLyricsString = rawLyricsString.replace("'", "");

// delete leading and trailing whitespace from each line, change line beginning to uppercase if selected
QStringList rawLyricsStringList = rawLyricsString.split(QRegularExpression("\\n"));
Expand Down

0 comments on commit 9ac4da4

Please sign in to comment.