Skip to content

Commit

Permalink
Merge 67f9147 into 3b9141d
Browse files Browse the repository at this point in the history
  • Loading branch information
Silveron committed Feb 4, 2020
2 parents 3b9141d + 67f9147 commit ed7828e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions arctic/generics.py
Expand Up @@ -23,7 +23,10 @@
from django.shortcuts import redirect, render, resolve_url
from django.urls import NoReverseMatch, reverse
from django.utils.formats import get_format
from django.utils.html import mark_safe
from django.utils.html import (
mark_safe,
strip_tags,
)
from django.utils.http import is_safe_url, quote
from django.utils.text import capfirst
from django.utils.translation import ugettext as _
Expand Down Expand Up @@ -673,7 +676,7 @@ def csv_file_response(self):
field_value = ", ".join(
[str(obj) for obj in field_value.get_queryset()]
)
row.append(field_value)
row.append(strip_tags(field_value))
writer.writerow(row)

return response
Expand Down

0 comments on commit ed7828e

Please sign in to comment.