Convert height and width attributes into integer

This conversion was lost in the refactoring of issue8131.

issue8325
This commit is contained in:
Cédric Krier committed 2019-05-05 19:50:58 +02:00
1 parent 252b6fb378
commit e45f3409d4
1 file changed
+1 -1
+1 -1
View File
@@ -113,7 +113,7 @@
}
});
['yexpand', 'yfill', 'xexpand', 'xfill', 'colspan',
'position'].forEach(function(name) {
'position', 'height', 'width'].forEach(function(name) {
if (node_attrs[name]) {
node_attrs[name] = Number(node_attrs[name]);
}