mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-23 11:42:36 +01:00
commit
f747ac5f38
@ -75,7 +75,7 @@ namespace Nikse.SubtitleEdit.Logic.SubtitleFormats
|
||||
foreach (Paragraph p in subtitle.Paragraphs)
|
||||
{
|
||||
XmlNode paragraph = xml.CreateElement("p");
|
||||
string text = HtmlUtil.RemoveHtmlTags(p.Text);
|
||||
string text = HtmlUtil.RemoveHtmlTags(p.Text, true);
|
||||
|
||||
paragraph.InnerText = text;
|
||||
paragraph.InnerXml = "<![CDATA[<sub>" + paragraph.InnerXml.Replace(Environment.NewLine, "<br />") + "</sub>]]>";
|
||||
|
Loading…
Reference in New Issue
Block a user