class String def convert_entities self.gsub(/>/, '>').gsub(/</, '<') end end