Formatting of injected gitignore text in rails template