mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 11:12:36 +01:00
Fix font tags (minor)
This commit is contained in:
parent
6e11f9819c
commit
d936b4f39c
@ -572,6 +572,12 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
res = res.Replace("<br/>", Environment.NewLine);
|
||||
res = res.Replace("<br />", Environment.NewLine);
|
||||
res = res.Replace("<br>", Environment.NewLine);
|
||||
res = res.Replace("</ font>", "</font>");
|
||||
res = res.Replace("</ font >", "</font>");
|
||||
res = res.Replace("<font color = \"# ", "<font color=\"#");
|
||||
res = res.Replace("<font color = ", "<font color=");
|
||||
res = res.Replace("</ b >", "</b>");
|
||||
res = res.Replace("</ b>", "</b>");
|
||||
res = res.Replace(" ", " ").Trim();
|
||||
res = res.Replace(Environment.NewLine + Environment.NewLine, Environment.NewLine);
|
||||
res = res.Replace(Environment.NewLine + " ", Environment.NewLine);
|
||||
|
Loading…
Reference in New Issue
Block a user