Export to GitHub

trimpath - issue #13

Expressions behave differently inside macros. Specifically, zeros become blank.


Posted on Jan 7, 2008 by Grumpy Giraffe

What steps will reproduce the problem? 1. call a macro that has ${variable} where variable is 0

What is the expected output? What do you see instead?

I expect '0' to be included in the emitted HTML. Instead, nothing it emitted.

What version of the product are you using? On what operating system?

TrimPath template 1.0.38 on Debian Linux using Iceweasel (Firefox) 2.0.0.11

Please provide any additional information below.

See attached test page that demonstrates the problem.

Attachments

Comment #1

Posted on Jan 7, 2008 by Grumpy Giraffe

See: http://trimpath.com/forum/viewtopic.php?pid=2759#p2759

Proposed fix is included as a patch.

Attachments

Status: New

Labels:
Type-Defect Priority-Medium