- m_WParser -> SetFontSize(old_size);
- m_WParser -> SetFontBold(old_b);
- m_WParser -> SetFontItalic(old_i);
- m_WParser -> SetFontUnderlined(old_u);
- m_WParser -> SetFontFixed(old_f);
- m_WParser -> SetAlign(old_al);
+ m_WParser->SetFontSize(old_size);
+ m_WParser->SetFontBold(old_b);
+ m_WParser->SetFontItalic(old_i);
+ m_WParser->SetFontUnderlined(old_u);
+ m_WParser->SetFontFixed(old_f);
+ m_WParser->SetAlign(old_al);
+
+ m_WParser->GetContainer()->InsertCell(
+ new wxHtmlFontCell(m_WParser->CreateCurrentFont()));
+ m_WParser->CloseContainer();
+ m_WParser->OpenContainer();
+ c = m_WParser->GetContainer();
+ c->SetIndent(m_WParser->GetCharHeight(), wxHTML_INDENT_TOP);
+
+ return true;
+ }