"Copy Source" make html tags uppercase in some browsers
neochief - May 29, 2008 - 16:34
| Project: | Localization client |
| Version: | 5.x-1.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | needs review |
Description
Hello
I've just discovered that the "Copy Source" makes html tags uppercase in the Opera browser (and meybe ). If you save the translation in that way, it's not showing on page later.
This bug ocurring because JQuery's .html function gets tags uppercase, so if you go without this function, all be fine.
UPD. This patch is not suitable for next version, because there is another way of storing translations in i10_client 5.x-1.x-dev - it's all about .html() there.
Anyway, I'm looking help in making this work in 5.x-1.x-dev
| Attachment | Size |
|---|---|
| sourse_index_in_title.patch | 1.1 KB |

#1
Little easier patch:
#2
Final version.
#3
Hi!
This is patch fixed bug:
special symbols are processed incorrectly (\r\n).
Example:
t("Line1\r\nLine2\r\n
Line3
")