[Commits] [SCM] claws branch, gtk2, updated. 3.20.0-65-gae798941c

wwp at claws-mail.org wwp at claws-mail.org
Thu Feb 29 13:18:09 CET 2024


The branch, gtk2 has been updated
       via  ae798941c783a40f8176c8c037203b8a34e57590 (commit)
      from  93faac983e69c0c2bd94261ba8a8ec3489afe1fd (commit)

Summary of changes:
 src/enriched.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit ae798941c783a40f8176c8c037203b8a34e57590
Author: wwp <subscript at free.fr>
Date:   Thu Feb 29 13:17:54 2024 +0100

    fix bug 4754, 'text/enriched literal less-than sign sequence handled incorrectly' (by Viatrix)

diff --git a/src/enriched.c b/src/enriched.c
index c29affa97..4f6900882 100644
--- a/src/enriched.c
+++ b/src/enriched.c
@@ -86,7 +86,11 @@ gchar *ertf_parse(ERTFParser *parser)
 	while (*parser->bufp != '\0') {
 		switch (*parser->bufp) {
 			case '<':
-				if (parser->str->len == 0)
+				if (parser->bufp[1]=='<') {
+					ertf_append_char(parser,'<');
+					parser->bufp+=2;
+				}
+				else if (parser->str->len == 0)
 					ertf_parse_tag(parser);
 				else
 					return parser->str->str;

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list