def clean_html_for_template_rendering(text):
<EOL>return text.replace('<STR_LIT>', '<STR_LIT>')<EOL>
Given html text that will be rendered as a variable in a template, strip out characters that impact rendering.

Arguments:
    text (str): The text to clean.

Returns:
    (str): The cleaned text.