<br><br><br> is now handled correctly, e.g. empty lines are inserted (unlike <p><p><p>)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 1999-11-11 16:08:52 +00:00
parent 4b59bea3dd
commit 8c651ab787

View File

@ -39,7 +39,7 @@ TAG_HANDLER_BEGIN(P, "P")
if (m_WParser -> GetContainer() -> GetFirstCell() != NULL) {
m_WParser -> CloseContainer();
m_WParser -> OpenContainer();
}
}
m_WParser -> GetContainer() -> SetIndent(m_WParser -> GetCharHeight(), wxHTML_INDENT_TOP);
m_WParser -> GetContainer() -> SetAlign(tag);
return FALSE;
@ -60,6 +60,7 @@ TAG_HANDLER_BEGIN(BR, "BR")
c = m_WParser -> OpenContainer();
c -> SetAlignHor(al);
c -> SetAlign(tag);
c -> SetMinHeight(m_WParser -> GetCharHeight());
return FALSE;
}