contentWhittle doesn't cope with messages that include unicode non-breaking spaces - bug 495185 r=asuth sr=bienvenu
This commit is contained in:
Родитель
c71ac10263
Коммит
1a9d8fdeb4
|
@ -645,7 +645,7 @@ var GlodaFundAttr = {
|
|||
let rangeStart = 0, lastNonBlankLine = null, prevLastNonBlankLine = null;
|
||||
let inQuoteDepth = 0;
|
||||
for each (let [iLine, line] in Iterator(bodyLines)) {
|
||||
if (!line)
|
||||
if (!line || (line == "\xa0")) /* unicode non breaking space */
|
||||
continue;
|
||||
|
||||
if (line[0] == ">") {
|
||||
|
|
|
@ -73,6 +73,14 @@ var messageInfos = [
|
|||
[false, ""],
|
||||
[true, "Verily!"]]
|
||||
},
|
||||
{
|
||||
name: "german style",
|
||||
bode: [[false, "Mark Banner <bugzilla@standard8.plus.com> wrote:"],
|
||||
[false, "\xa0"],
|
||||
[false, "> We haven't nailed anything down in detail yet, depending on how we are "],
|
||||
[true, "That sounds great and would definitely be appreciated by localizers."],
|
||||
[false, ""]]
|
||||
},
|
||||
{
|
||||
name: "tortuous interference",
|
||||
bode: [[false, "> wrote"],
|
||||
|
|
Загрузка…
Ссылка в новой задаче