Revert fix quotes fix

This commit is contained in:
niksedk 2014-06-24 21:55:50 +02:00
parent 4a80576263
commit 41bf38c389

View File

@ -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)
{