git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64160
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
- OutputFont(thisStyle, str);
-
if (((GetFlags() & wxRICHTEXT_HANDLER_USE_CSS) == 0) && (thisStyle.GetLeftSubIndent() < 0))
{
str << SymbolicIndent( - thisStyle.GetLeftSubIndent());
if (((GetFlags() & wxRICHTEXT_HANDLER_USE_CSS) == 0) && (thisStyle.GetLeftSubIndent() < 0))
{
str << SymbolicIndent( - thisStyle.GetLeftSubIndent());
+ OutputFont(thisStyle, str);
}
/// End paragraph formatting
void wxRichTextHTMLHandler::EndParagraphFormatting(const wxTextAttr& WXUNUSED(currentStyle), const wxTextAttr& thisStyle, wxTextOutputStream& stream)
{
}
/// End paragraph formatting
void wxRichTextHTMLHandler::EndParagraphFormatting(const wxTextAttr& WXUNUSED(currentStyle), const wxTextAttr& thisStyle, wxTextOutputStream& stream)
{
+ if (thisStyle.HasFont())
+ stream << wxT("</font>");
+
- if (thisStyle.HasFont())
- stream << wxT("</font>");
-
stream << wxT("</td></tr></table></p>\n");
m_inTable = false;
}
stream << wxT("</td></tr></table></p>\n");
m_inTable = false;
}