我在xml中编写了以下代码:
var invalidLastNameMessage="We're sorry, but that last name doesn't match our records.";
当我检查IOS设备(ipod / iphone)时,它应该是:
We're sorry, but that last name doesn't match our records.
但它显示如下:
We're sorry, but that last name doesn't match our records.
有谁能解释为什么会这样?
答案 0 :(得分:0)
如果它被自动转义我不会感到惊讶。好像它逃脱了
We're
到
We'apos;re
你试过给它一个非转义值吗?