Mon, 30 Mar 2020 13:03:53 +0800
Handle <P> tag as line break. Otherwise, paragraphs will appear in the same line.
| pidgin/gtkimhtml.c | file | annotate | diff | comparison | revisions |
--- a/pidgin/gtkimhtml.c Mon Dec 16 20:20:20 2019 -0600 +++ b/pidgin/gtkimhtml.c Mon Mar 30 13:03:53 2020 +0800 @@ -2863,6 +2863,8 @@ case 25: /* BR */ case 58: /* BR/ */ case 61: /* BR (opt) */ + case 29: /* P */ + case 30: /* /P */ ws[wpos] = '\n'; wpos++; br = TRUE; @@ -2936,8 +2938,6 @@ ws[0] = '\0'; wpos = 0; break; - case 29: /* P */ - case 30: /* /P */ case 31: /* H3 */ case 32: /* /H3 */ case 33: /* HTML */