Prevent newline at end of jinja replacement.