mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-07 03:54:40 +00:00
Bug 788
This commit is contained in:
parent
c40e753ea9
commit
7187f50c40
@ -251,10 +251,10 @@ namespace MWGui
|
||||
MyGUI::Gui::getInstance().destroyWidget(mParent->getChildAt(0));
|
||||
}
|
||||
|
||||
boost::algorithm::replace_all(text, "\n", "");
|
||||
boost::algorithm::replace_all(text, "\r", "");
|
||||
boost::algorithm::replace_all(text, "<BR>", "\n");
|
||||
boost::algorithm::replace_all(text, "<P>", "\n\n");
|
||||
boost::algorithm::replace_all(text, "\n", "\n");
|
||||
boost::algorithm::replace_all(text, "\r", "\r");
|
||||
boost::algorithm::replace_all(text, "<BR>", "\n\n");
|
||||
boost::algorithm::replace_all(text, "<P>", "\n\n"); // tweaking by adding another newline to see if that spaces out better
|
||||
boost::algorithm::trim_left(text);
|
||||
|
||||
// remove trailing "
|
||||
|
Loading…
Reference in New Issue
Block a user