symphony.bdk.core.service.message.messageml_util.escape_special_chars#

symphony.bdk.core.service.message.messageml_util.escape_special_chars(raw_text: str) str#

Replace all special characters placed within the messageML that must be HTML-escaped to have a valid MessageML format.

Parameters

raw_text – text to be parsed

Returns

text in a valid messageML format