Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
piks3l
Respect My Net
Commits
be6cd5c4
Commit
be6cd5c4
authored
Jan 13, 2012
by
stef
Browse files
[fix] uquoted csv
parent
6d04a6bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/csv.tmpl
View file @
be6cd5c4
{% for row in data %}{% for col in row %}"{{ col|addslashes }}"{% if not loop.last %},{% endif %}{% endfor %}
{% for row in data %}{% for col in row %}"{{ col|
safe|
addslashes }}"{% if not loop.last %},{% endif %}{% endfor %}
{% endfor %}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment