read the missing text value after loop
This commit is contained in:
parent
abaa3354b8
commit
f45d2c199f
|
|
@ -386,6 +386,7 @@ function read_value(it) {
|
|||
}
|
||||
else if (/[;}]/.test(c)) {
|
||||
if (text.value.length) value.push(text);
|
||||
text = struct.text();
|
||||
break;
|
||||
}
|
||||
else if (c == '@') {
|
||||
|
|
@ -398,6 +399,7 @@ function read_value(it) {
|
|||
}
|
||||
it.next();
|
||||
}
|
||||
if (text.value.length) value.push(text);
|
||||
return value;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -135,6 +135,7 @@ function read_value(it) {
|
|||
}
|
||||
else if (/[;}]/.test(c)) {
|
||||
if (text.value.length) value.push(text);
|
||||
text = struct.text();
|
||||
break;
|
||||
}
|
||||
else if (c == '@') {
|
||||
|
|
@ -147,6 +148,7 @@ function read_value(it) {
|
|||
}
|
||||
it.next();
|
||||
}
|
||||
if (text.value.length) value.push(text);
|
||||
return value;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue