mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 19:22:53 +01:00
OCR: Do not unbreak text when "use color" - thx borifax :)
See https://gitter.im/SubtitleEdit/subtitleedit
This commit is contained in:
parent
346ca5764f
commit
5dd849c2cd
@ -5261,7 +5261,6 @@ namespace Nikse.SubtitleEdit.Forms.Ocr
|
|||||||
|
|
||||||
if (_dvbSubtitles != null && checkBoxTransportStreamGetColorAndSplit.Checked)
|
if (_dvbSubtitles != null && checkBoxTransportStreamGetColorAndSplit.Checked)
|
||||||
{
|
{
|
||||||
text = Utilities.UnbreakLine(text);
|
|
||||||
if (_dvbSubColor != Color.Transparent)
|
if (_dvbSubColor != Color.Transparent)
|
||||||
{
|
{
|
||||||
text = "<font color=\"" + ColorTranslator.ToHtml(_dvbSubColor) + "\">" + text + "</font>";
|
text = "<font color=\"" + ColorTranslator.ToHtml(_dvbSubColor) + "\">" + text + "</font>";
|
||||||
@ -5418,8 +5417,7 @@ namespace Nikse.SubtitleEdit.Forms.Ocr
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (_dvbSubtitles != null && checkBoxTransportStreamGetColorAndSplit.Checked)
|
if (_dvbSubtitles != null && checkBoxTransportStreamGetColorAndSplit.Checked)
|
||||||
{
|
{
|
||||||
text = Utilities.UnbreakLine(text);
|
|
||||||
if (_dvbSubColor != Color.Transparent)
|
if (_dvbSubColor != Color.Transparent)
|
||||||
{
|
{
|
||||||
text = "<font color=\"" + ColorTranslator.ToHtml(_dvbSubColor) + "\">" + text + "</font>";
|
text = "<font color=\"" + ColorTranslator.ToHtml(_dvbSubColor) + "\">" + text + "</font>";
|
||||||
|
Loading…
Reference in New Issue
Block a user