[gtkhtml] Bug #615511 (bnc) - Encoded question mark issues.
- From: Bharath Acharya <abharath src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkhtml] Bug #615511 (bnc) - Encoded question mark issues.
- Date: Wed, 8 Sep 2010 10:52:22 +0000 (UTC)
commit 4474c01ec3dd320322c28de4d09a1096bb0e0405
Author: Simon Brys <sbrys novell com>
Date: Wed Sep 8 16:18:16 2010 +0530
Bug #615511 (bnc) - Encoded question mark issues.
Encoded question mark in HTML mails don't display correctly.
gtkhtml/htmltokenizer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtkhtml/htmltokenizer.c b/gtkhtml/htmltokenizer.c
index 089cbd4..f1551c6 100644
--- a/gtkhtml/htmltokenizer.c
+++ b/gtkhtml/htmltokenizer.c
@@ -483,7 +483,7 @@ html_tokenizer_convert_entity (gchar *token)
} else {
value = html_entity_parse (read_pos, strlen (read_pos));
}
- if (value != INVALID_ENTITY_CHARACTER_MARKER) {
+ if (*read_pos == '#' || value != INVALID_ENTITY_CHARACTER_MARKER) {
write_pos += g_unichar_to_utf8 (value, write_pos);
read_pos += (count_chars + 1);
} else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]