Trailing/mixed spaces should take precedence over leading ones.