From 62c4ce402c9ae4d3376feb5904cc12d5b0eccaf2 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Tue, 19 Dec 2017 14:21:08 -0500 Subject: [PATCH] preproc: Copy rate-each/@dim only if it exists If it is copied an yields an empty value, then it is later converted into a 0, which is wholly incorrect in the case of generators. * src/current/include/preproc/macros.xsl (preproc:macros)[lv:rate-each]: Conditionally copy `@dim'. --- src/current/include/preproc/macros.xsl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/current/include/preproc/macros.xsl b/src/current/include/preproc/macros.xsl index 38721fd7..896796c1 100644 --- a/src/current/include/preproc/macros.xsl +++ b/src/current/include/preproc/macros.xsl @@ -403,7 +403,11 @@ - + + + + +