@ensure_tag(['<STR_LIT:t>'])<EOL>def get_t_tag_content(<EOL>t, parent, remove_bold, remove_italics, meta_data):
if t is None or t.text is None:<EOL><INDENT>return '<STR_LIT>'<EOL><DEDENT>text = cgi.escape(t.text)<EOL>el_is_bold = not remove_bold and (<EOL>is_bold(parent) or<EOL>is_underlined(parent)<EOL>)<EOL>el_is_italics = not remove_italics and is_italics(parent)<EOL>if el_is_bold:<EOL><INDENT>text = '<STR_LIT>' % text<EOL><DEDENT>if el_is_italics:<EOL><INDENT>text = '<STR_LIT>' % text<EOL><DEDENT>return text<EOL>
Generate the string data that for this particular t tag.