MimeFilterToHTMLFlags
Description:
[ CCode ( cprefix = "CAMEL_MIME_FILTER_TOHTML_" , type_id = "camel_mime_filter_to_html_flags_get_type ()" ) ]
[ Flags ]
public enum MimeFilterToHTMLFlags
Flags for converting text/plain content into text/html.
Content:
Enum values:
- CITE - Prefix each line with
"> ".
- CONVERT_ADDRESSES -
Convert mailto: URLs to <a href="mailto:foo">mailto:foo</a>.
- CONVERT_NL - Convert
newline characters to <br> tags.
- CONVERT_SPACES -
Convert space and tab characters to a non-breaking space (&nbsp;).
- CONVERT_URLS -
Convert recognized URLs to <a href="foo">foo</a>.
- DIV - Enclose the paragraphs
in <div> ... </div> tags.
- ESCAPE_8BIT - Convert
8-bit characters to escaped hexdecimal (&
nnn
;).
- FORMAT_FLOWED - This
flag is not used by MimeFilterToHTML.
- MARK_CITATION -
Color quoted lines (lines beginning with '>').
- PRE - Enclose the content in
<pre> ... </pre> tags.
- PRESERVE_8BIT - This
flag is not used by MimeFilterToHTML.
- PRESERVE_TABS - Set
in combination with camel_mime_filter_tohtml_convert_spaces, to keep tab characters.
- QUOTE_CITATION -
Group lines beginning with one or more '>' characters in <blockquote type="cite"> ... </blockquote> tags.