Bug 1642863: Ensure that value is passed into buildRow as array containing Text node; r=jaws

`value` is not a string ID. On desktop this doesn't seem to matter because
`value` never passes the `FLUENT_IDENT_REGEX` test. OTOH, on Android it does.

Differential Revision: https://phabricator.services.mozilla.com/D77984
This commit is contained in:
Aaron Klotz
2020-06-04 02:05:40 +00:00
parent d8cadb6564
commit 9aa94e684e

View File

@@ -650,7 +650,7 @@ var snapshotFormatters = {
if (value === undefined || value === "") {
continue;
}
trs.push(buildRow(key, value));
trs.push(buildRow(key, [new Text(value)]));
}
if (!trs.length) {