CameronHStewart / trimpath

Automatically exported from code.google.com/p/trimpath
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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.

Original issue reported on code.google.com by ojee...@gmail.com on 7 Jan 2008 at 12:16

Attachments:

GoogleCodeExporter commented 8 years ago
See:
http://trimpath.com/forum/viewtopic.php?pid=2759#p2759

Proposed fix is included as a patch.

Original comment by ojee...@gmail.com on 7 Jan 2008 at 1:58

Attachments: