Handlebars, whitespace control

Following the history from the pull request to add this feature it looks like this is the correct syntax: <h4> {{~#object~}} Surrounding whitespace would be removed. {{/object}} </h4> Result: <h4>Surrounding whitespace would be removed.</h4> There is also this syntax which trims only leading whitespace: <h4> {{~#object}} Only leading whitespace would be removed. {{/object}} </h4> Result: … Read more

git whitespace woes

Git1.6.0.4 seems a bit old, especially if you consider that: in 1.6.3.4, “git apply –whitespace=fix” did not fix trailing whitespace on an incomplete line in 1.6.3.2, “whitespace” attribute that is set was meant to detect all errors known to git, but it told git to ignore trailing carriage-returns. Could you try with Git1.6.4.1, and rather … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)