gmail_rules.utils.helpers.convert_to_parseable_string#

convert_to_parseable_string(string_to_parse: str) str[source]#

Converts a rich-text string into a parseable string containing tabs and newlines

This function takes a string and allows newlines/tabs to be displayed as n and t rather than a newline and a tab

Parameters:

string_to_parse (str) – String to display parsed richtext operations for

Returns:

String displaying n and t rather than newlines and tabs

Return type:

str