'Decode special characters encodings found in string I{s}.
@param s: A string to decode.
@type s: str
@return: The decoded string.
@rtype: str'

def decode(self, s):

    if (isinstance(s, basestring) and ('&' in s)):
        for x in self.decodings:
            s = s.replace(x[0], x[1])
    return s
