Fix #1373: Inconsistent whitespace in code templates