dovecot-2.2: lib-mail: fix html2text parser
dovecot at dovecot.org
dovecot at dovecot.org
Thu Oct 15 11:45:58 UTC 2015
details: http://hg.dovecot.org/dovecot-2.2/rev/17aac21b303d
changeset: 19307:17aac21b303d
user: Phil Carmody <phil at dovecot.fi>
date: Thu Oct 15 14:44:03 2015 +0300
description:
lib-mail: fix html2text parser
Silly typo. Fixes bug reported on dovecot list by Akash on Oct 14.
Signed-off-by: Phil Carmody <phil at dovecot.fi>
diffstat:
src/lib-mail/mail-html2text.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r ca17b29b1720 -r 17aac21b303d src/lib-mail/mail-html2text.c
--- a/src/lib-mail/mail-html2text.c Wed Oct 14 17:34:23 2015 +0300
+++ b/src/lib-mail/mail-html2text.c Thu Oct 15 14:44:03 2015 +0300
@@ -192,7 +192,7 @@
if (c == '"')
ht->state = HTML_STATE_TAG_DQUOTED;
else if (c == '\'')
- ht->state = HTML_STATE_TAG_DQUOTED;
+ ht->state = HTML_STATE_TAG_SQUOTED;
else if (c == '>') {
ht->state = HTML_STATE_TEXT;
mail_html2text_add_space(output);
More information about the dovecot-cvs
mailing list