ljie / jquery-i18n-properties

Automatically exported from code.google.com/p/jquery-i18n-properties
0 stars 0 forks source link

Can't display newline in IE #10

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. The message in property file is "aaa\nbbb".
2. The displayed message is "aaanbbb" but the correct is "aaa"[newline]"bbb"

What is the expected output? What do you see instead?

expected:
"aaa"[newline]"bbb"
dsiplayed:
"aaanbbb"

What version of the product are you using? On what operating system?

version:1.0.9
OS:Windows7,IE8

Please provide any additional information below.

The reason may be this,jquery-i18n-properties 
is using string[index] method to get chars.
But the w3c's standard method is string.charAt(index),so the string[index] 
should be changed to string.charAt(index).

Original issue reported on code.google.com by bluezea...@tom.com on 11 Oct 2011 at 3:45