@staticmethod<EOL><INDENT>def _apply_color(code, content):<DEDENT>
normal = u'<STR_LIT>'<EOL>seq = u'<STR_LIT>' % code<EOL>return seq + (normal + seq).join(content.split(normal)) + normal<EOL>
Apply a color code to text