fixed TABs positioning inside <pre> so that tags don't throw it apart
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -41,10 +41,8 @@ static wxString LINKAGEMODE HtmlizeWhitespaces(const wxString& str)
|
|||||||
while (i < len && str[i] != wxT('>'))
|
while (i < len && str[i] != wxT('>'))
|
||||||
{
|
{
|
||||||
out << str[i++];
|
out << str[i++];
|
||||||
linepos++;
|
|
||||||
}
|
}
|
||||||
out << wxT('>');
|
out << wxT('>');
|
||||||
linepos++;
|
|
||||||
break;
|
break;
|
||||||
case wxT(' '):
|
case wxT(' '):
|
||||||
out << wxT(" ");
|
out << wxT(" ");
|
||||||
|
Reference in New Issue
Block a user