diff --git a/apps/openmw/mwgui/formatting.cpp b/apps/openmw/mwgui/formatting.cpp
index 6f1e16ff1..aebaf16a2 100644
--- a/apps/openmw/mwgui/formatting.cpp
+++ b/apps/openmw/mwgui/formatting.cpp
@@ -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, "
", "\n");
- boost::algorithm::replace_all(text, "
", "\n\n");
+ boost::algorithm::replace_all(text, "\n", "\n");
+ boost::algorithm::replace_all(text, "\r", "\r");
+ boost::algorithm::replace_all(text, "
", "\n\n");
+ boost::algorithm::replace_all(text, "
", "\n\n"); // tweaking by adding another newline to see if that spaces out better boost::algorithm::trim_left(text); // remove trailing "