<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:
@@ -39,7 +39,7 @@ TAG_HANDLER_BEGIN(P, "P")
|
|||||||
if (m_WParser -> GetContainer() -> GetFirstCell() != NULL) {
|
if (m_WParser -> GetContainer() -> GetFirstCell() != NULL) {
|
||||||
m_WParser -> CloseContainer();
|
m_WParser -> CloseContainer();
|
||||||
m_WParser -> OpenContainer();
|
m_WParser -> OpenContainer();
|
||||||
}
|
}
|
||||||
m_WParser -> GetContainer() -> SetIndent(m_WParser -> GetCharHeight(), wxHTML_INDENT_TOP);
|
m_WParser -> GetContainer() -> SetIndent(m_WParser -> GetCharHeight(), wxHTML_INDENT_TOP);
|
||||||
m_WParser -> GetContainer() -> SetAlign(tag);
|
m_WParser -> GetContainer() -> SetAlign(tag);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
@@ -60,6 +60,7 @@ TAG_HANDLER_BEGIN(BR, "BR")
|
|||||||
c = m_WParser -> OpenContainer();
|
c = m_WParser -> OpenContainer();
|
||||||
c -> SetAlignHor(al);
|
c -> SetAlignHor(al);
|
||||||
c -> SetAlign(tag);
|
c -> SetAlign(tag);
|
||||||
|
c -> SetMinHeight(m_WParser -> GetCharHeight());
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user