From 13a15a38c54b96de80788e44146a26119683375e Mon Sep 17 00:00:00 2001 From: blitzmann Date: Fri, 6 May 2016 20:50:34 -0400 Subject: [PATCH] Fix line break in some descriptions (#596) --- gui/itemStats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/itemStats.py b/gui/itemStats.py index 0f2b26eeb..ad3e49b6c 100644 --- a/gui/itemStats.py +++ b/gui/itemStats.py @@ -246,7 +246,7 @@ class ItemDescription ( wx.Panel ): if not item.description: return - desc = item.description.replace("\r", "
") + desc = item.description.replace("\n", "
") # Strip font tags desc = re.sub("<( *)font( *)color( *)=(.*?)>(?P.*?)<( *)/( *)font( *)>", "\g", desc) # Strip URLs