new function, extracted from e_text_to_html, added color parameter

2001-03-20  Radek Doulik  <rodo@ximian.com>

	* e-html-utils.c (e_text_to_html_full): new function, extracted
	from e_text_to_html, added color parameter

2001-03-19  Radek Doulik  <rodo@ximian.com>

	* e-html-utils.c (e_text_to_html): support mark citation

	* e-html-utils.h (E_TEXT_TO_HTML_MARK_CITATION): added
	E_TEXT_TO_HTML_MARK_CITATION

svn path=/trunk/; revision=8847
This commit is contained in:
Radek Doulik
2001-03-20 16:50:12 +00:00
committed by Radek Doulik
parent 451c410dec
commit 3e105b5bb7
3 changed files with 66 additions and 3 deletions

View File

@ -23,11 +23,15 @@
#ifndef __E_HTML_UTILS__
#define __E_HTML_UTILS__
#include <glib.h>
#define E_TEXT_TO_HTML_PRE (1 << 0)
#define E_TEXT_TO_HTML_CONVERT_NL (1 << 1)
#define E_TEXT_TO_HTML_CONVERT_SPACES (1 << 2)
#define E_TEXT_TO_HTML_CONVERT_URLS (1 << 3)
#define E_TEXT_TO_HTML_MARK_CITATION (1 << 4)
char *e_text_to_html (const char *input, unsigned int flags);
char *e_text_to_html_full (const char *input, unsigned int flags, guint32 color);
char *e_text_to_html (const char *input, unsigned int flags);
#endif /* __E_HTML_UTILS__ */