bs4.CData.format_string

CData.format_string(s, formatter='minimal')

Format the given string using the given formatter.