mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 20:52:44 +01:00
Remove text for Hearing Impaired if only music symbolx - thx fraternl :)
Fix #7541
This commit is contained in:
parent
5ba786ea9f
commit
6df5a64e3a
@ -1196,6 +1196,11 @@ namespace Nikse.SubtitleEdit.Core.Forms
|
||||
|
||||
text = text.Trim();
|
||||
|
||||
if (text.Replace('♪', ' ').Replace('♫', ' ').Trim().Length == 0)
|
||||
{
|
||||
return string.Empty;
|
||||
}
|
||||
|
||||
// keep U2010 dashes if no changes
|
||||
if (originalAfterU2010Replace == text)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user