changeset 19307:17aac21b303d

lib-mail: fix html2text parser Silly typo. Fixes bug reported on dovecot list by Akash on Oct 14. Signed-off-by: Phil Carmody <phil@dovecot.fi>
author Phil Carmody <phil@dovecot.fi>
date Thu, 15 Oct 2015 14:44:03 +0300
parents ca17b29b1720
children 66be949b9bcc
files src/lib-mail/mail-html2text.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);