mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 12:44:46 +01:00
Revert fix quotes fix
This commit is contained in:
parent
4a80576263
commit
41bf38c389
@ -1776,15 +1776,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
int noOfFixes = 0;
|
||||
for (int i = 0; i < _subtitle.Paragraphs.Count; i++)
|
||||
{
|
||||
Paragraph p = _subtitle.Paragraphs[i];
|
||||
if (!p.Text.Contains("\""))
|
||||
continue;
|
||||
// Removes ' if like: "' or '"
|
||||
while (p.Text.Contains("\"'") || p.Text.Contains("'\""))
|
||||
{
|
||||
p.Text = p.Text.Replace("\"'", "\"");
|
||||
p.Text = p.Text.Replace("'\"", "\"");
|
||||
}
|
||||
Paragraph p = _subtitle.Paragraphs[i];
|
||||
|
||||
if (Utilities.CountTagInText(p.Text, "\"") == 1)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user