Fix lore escaping and comparison

This fixes an issue where prices would get reset on items with specially-colored lore.

I still can't sell my custom items, but I'm hopefully narrowing in on that as well!