def _add_escape_character_for_quote_prime_character(self, text):
if text is not None:<EOL><INDENT>if "<STR_LIT:'>" in text:<EOL><INDENT>return text.replace("<STR_LIT:'>","<STR_LIT>")<EOL><DEDENT>elif '<STR_LIT:">' in text:<EOL><INDENT>return text.replace('<STR_LIT:">','<STR_LIT>')<EOL><DEDENT>else:<EOL><INDENT>return text<EOL><DEDENT><DEDENT>else:<EOL><INDENT>return text<EOL><DEDENT>
Fix for https://github.com/openatx/facebook-wda/issues/33
Returns:
    string with properly formated quotes, or non changed text