diff --git a/gui/itemStats.py b/gui/itemStats.py index e070b5a97..d20495d87 100644 --- a/gui/itemStats.py +++ b/gui/itemStats.py @@ -18,10 +18,11 @@ #=============================================================================== import wx +import re import gui.mainFrame import bitmapLoader import sys -import wx.lib.mixins.listctrl as listmix +import wx.lib.mixins.listctrl as listmix import wx.html from eos.types import Ship, Module, Skill, Booster, Implant, Drone from util import formatAmount @@ -172,8 +173,9 @@ class ItemDescription ( wx.Panel ): self.description = wx.html.HtmlWindow(self) - desc = item.description.replace("\r","
") + desc = re.sub("<( *)font( *)color( *)=(.*)>", "", desc) + desc = re.sub("<( *)/( *)font( *)>","", desc) self.description.SetPage(desc)