Normalize linefeeds.
Manage template settings (interpolate, escapeand evaluate regex).