[evolution-data-server] CamelMimeFilterToHTML - If the PRE close tag is written to the output, mark it as processed in priva



commit a68bf22dbf700cf853ab52789c12cf6208b9baa1
Author: Tomas Popela <tpopela redhat com>
Date:   Fri Oct 10 09:14:10 2014 +0200

    CamelMimeFilterToHTML - If the PRE close tag is written to the output, mark it as processed in private as 
well

 camel/camel-mime-filter-tohtml.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/camel/camel-mime-filter-tohtml.c b/camel/camel-mime-filter-tohtml.c
index 909b7ba..e49dea1 100644
--- a/camel/camel-mime-filter-tohtml.c
+++ b/camel/camel-mime-filter-tohtml.c
@@ -469,6 +469,7 @@ html_convert (CamelMimeFilter *mime_filter,
                        /* close the pre-tag */
                        outptr = check_size (mime_filter, outptr, &outend, 10);
                        outptr = g_stpcpy (outptr, "</pre>");
+                       priv->pre_open = FALSE;
                }
        } else if (start < inend) {
                /* backup */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]