Ticket #78 (new patch)
Logs don't support RTL text correctly.
| Reported by: | shlomil | Owned by: | rlaager |
|---|---|---|---|
| Milestone: | Patches Needing Improvement | Component: | pidgin (gtk) |
| Version: | 2.0 | Keywords: | Hebrew bidi RTL Arabic "bi-directional text" |
| Cc: | Dawudd |
Description
(Patch was ported from patch 1668681 in the old BTS)
Fixes and improvements included in this patch:
* Added support for <SPAN style="direction:rtl;"> and <SPAN dir="RTL"> HTML tag for the parser of IMHtml Widget.
* Added text direction detection to outgoing messages and send it with the correct SPAN tag.
* Added support for the "RL=1" flag in Messenger protocol implementation, both in sending and receiving messages.
* Fixed some GTKIMHtml display issues: By injecting RLM and RLE Unicode characters to the conversation display according to the expected alignment and direction.
* Display timestamps and nicknames in the expected order in RTL chats.
* Fixed a problem in gtk_imhtml_get_css_opt() - Function was able to recognized only the first attribute. Now it can read all CSS attributes.
* Fixed a problem with ICQ plug-in: The function purple_unescape_html() was used (oscar.c:4296) to strip HTML tags before sending ch2 messages. Doing that did not work so I changed it to use purple_markup_strip_html() .
Discussion and screenshots are available here.



