Details
struct GMimeFilterHTML
struct GMimeFilterHTML {
GMimeFilter parent_object;
struct _GUrlScanner *scanner;
guint32 flags;
guint32 colour;
guint32 column : 31;
guint32 pre_open : 1;
}; |
GMIME_FILTER_HTML_PRE
#define GMIME_FILTER_HTML_PRE |
Wrap stream in <pre> tags.
GMIME_FILTER_HTML_CONVERT_NL
#define GMIME_FILTER_HTML_CONVERT_NL |
Convert new-lines ('\n') into <br> tags.
GMIME_FILTER_HTML_CONVERT_SPACES
#define GMIME_FILTER_HTML_CONVERT_SPACES |
Preserve whitespace by converting spaces into their appropriate
html entities.
GMIME_FILTER_HTML_CONVERT_URLS
#define GMIME_FILTER_HTML_CONVERT_URLS |
Wrap detected URLs in <a href=...> tags.
GMIME_FILTER_HTML_MARK_CITATION
#define GMIME_FILTER_HTML_MARK_CITATION |
Change the colour of citation text.
GMIME_FILTER_HTML_CONVERT_ADDRESSES
#define GMIME_FILTER_HTML_CONVERT_ADDRESSES |
Wrap email addresses in "mailto:" href tags.
GMIME_FILTER_HTML_ESCAPE_8BIT
#define GMIME_FILTER_HTML_ESCAPE_8BIT |
Converts 8bit characters to '?'.
GMIME_FILTER_HTML_CITE
#define GMIME_FILTER_HTML_CITE |
Cites text by prepending "> " to each cited line.
g_mime_filter_html_new ()
GMimeFilter* g_mime_filter_html_new (guint32 flags,
guint32 colour); |
Creates a new GMimeFilterHTML filter.