<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:
parent
4b59bea3dd
commit
8c651ab787
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user