Merge pull request #879 from ivandrofly/patch-3

Minor fix
This commit is contained in:
Nikolaj Olsson 2015-06-19 19:33:34 +02:00
commit 814fd98b7a
2 changed files with 2 additions and 1 deletions

View File

@ -130,6 +130,7 @@
//
// labelTotalLines
//
this.labelTotalLines.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.labelTotalLines.AutoSize = true;
this.labelTotalLines.Location = new System.Drawing.Point(7, 232);
this.labelTotalLines.Name = "labelTotalLines";

View File

@ -112,7 +112,7 @@ namespace Nikse.SubtitleEdit.Forms
int i = 0;
foreach (Paragraph p in subtitle.Paragraphs)
{
string s = HtmlUtil.RemoveHtmlTags(p.Text);
string s = HtmlUtil.RemoveHtmlTags(p.Text, true);
if (s.Length > maxLength)
{
maxLength = s.Length;