We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3220e44 commit 4ee3059Copy full SHA for 4ee3059
1 file changed
src/processors/gridsetProcessor.ts
@@ -402,6 +402,12 @@ class GridsetProcessor extends BaseProcessor {
402
if (s.r !== undefined) {
403
const rElements = Array.isArray(s.r) ? s.r : [s.r];
404
for (const r of rElements) {
405
+ if (typeof r === 'number') {
406
+ if (r !== 0) {
407
+ parts.push(String(r));
408
+ }
409
+ continue;
410
411
if (typeof r === 'object' && r !== null && '#text' in r) {
412
parts.push(String(r['#text']));
413
} else {
0 commit comments