From 5b771a75004ddbd6bfa29b50cdb7a0e188eafbb9 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 22 Sep 2009 21:06:45 -0400 Subject: Developer documentation improvements. --- e-util/e-html-utils.c | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to 'e-util/e-html-utils.c') diff --git a/e-util/e-html-utils.c b/e-util/e-html-utils.c index b80ee17891..03e5b73fc0 100644 --- a/e-util/e-html-utils.c +++ b/e-util/e-html-utils.c @@ -178,14 +178,15 @@ is_citation (const guchar *c, gboolean saw_citation) * * The set of possible flags is: * - * - E_TEXT_TO_HTML_PRE: wrap the output HTML in
 and 
. - * Should only be used if @input is the entire buffer to be - * converted. If e_text_to_html is being called with small pieces - * of data, you should wrap the entire result in
 yourself.
+ *   - E_TEXT_TO_HTML_PRE: wrap the output HTML in <PRE> and
+ *     </PRE>  Should only be used if @input is the entire
+ *     buffer to be converted. If e_text_to_html is being called with
+ *     small pieces of data, you should wrap the entire result in
+ *     <PRE> yourself.
  *
- *   - E_TEXT_TO_HTML_CONVERT_NL: convert "\n" to "
\n" on output. - * (should not be used with E_TEXT_TO_HTML_PRE, since that would - * result in double-newlines). + * - E_TEXT_TO_HTML_CONVERT_NL: convert "\n" to "<BR>n" on + * output. (Should not be used with E_TEXT_TO_HTML_PRE, since + * that would result in double-newlines.) * * - E_TEXT_TO_HTML_CONVERT_SPACES: convert a block of N spaces * into N-1 non-breaking spaces and one normal space. A space @@ -197,14 +198,14 @@ is_citation (const guchar *c, gboolean saw_citation) * If E_TEXT_TO_HTML_CONVERT_NL and E_TEXT_TO_HTML_CONVERT_SPACES * are both defined, then TABs will also be converted to spaces. * - * - E_TEXT_TO_HTML_CONVERT_URLS: wrap around - * strings that look like URLs. + * - E_TEXT_TO_HTML_CONVERT_URLS: wrap <a href="..."> </a> + * around strings that look like URLs. * - * - E_TEXT_TO_HTML_CONVERT_ADDRESSES: wrap around - * strings that look like mail addresses. + * - E_TEXT_TO_HTML_CONVERT_ADDRESSES: wrap <a href="mailto:..."> + * </a> around strings that look like mail addresses. * - * - E_TEXT_TO_HTML_MARK_CITATION: wrap around - * citations (lines beginning with "> ", etc). + * - E_TEXT_TO_HTML_MARK_CITATION: wrap <font color="..."> + * </font> around citations (lines beginning with "> ", etc). * * - E_TEXT_TO_HTML_ESCAPE_8BIT: flatten everything to US-ASCII * -- cgit v1.2.3