Feature Proposal: Empty IF condition to be regarded valid and false
Motivation
%IF{"" then="THEN" else="ELSE"}% now causes an error because a null string is not a valid condition. In the past, a null string was a valid false condition.
Description and Documentation
Allowing empty condition (to be exact a string matching ^\s*$) and regarding it as false.
Examples
Impact
Implementation
--
Contributors:
Hideyo Imazu - 2013-02-07
Discussion
No-brainer, IMO can be handled as a bug.
--
Peter Thoeny - 2013-02-08
I was thinking only about a null string. But strings matching ^\s*$ were regarded as false in the past, I realized. So I modified the description above accordingly.
--
Hideyo Imazu - 2013-02-21
Makes sense.
--
Peter Thoeny - 2013-02-21