def email_quote_txt(text,<EOL>indent_txt='<STR_LIT>',<EOL>linebreak_input="<STR_LIT:\n>",<EOL>linebreak_output="<STR_LIT:\n>"):
if (text == "<STR_LIT>"):<EOL><INDENT>return "<STR_LIT>"<EOL><DEDENT>lines = text.split(linebreak_input)<EOL>text = "<STR_LIT>"<EOL>for line in lines:<EOL><INDENT>text += indent_txt + line + linebreak_output<EOL><DEDENT>return text<EOL>
Takes a text and returns it in a typical mail quoted format, e.g.::
    C'est un lapin, lapin de bois.
    >>Quoi?
    Un cadeau.
    >>What?
    A present.
    >>Oh, un cadeau.

will return::
    >>C'est un lapin, lapin de bois.
    >>>>Quoi?
    >>Un cadeau.
    >>>>What?
    >>A present.
    >>>>Oh, un cadeau.

@param text: the string to quote
@param indent_txt: the string used for quoting (default: '>>')
@param linebreak_input: in the text param, string used for linebreaks
@param linebreak_output: linebreak used for output
@return: the text as a quoted string