summaryrefslogtreecommitdiff
path: root/horizon/tables/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'horizon/tables/base.py')
-rw-r--r--horizon/tables/base.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/horizon/tables/base.py b/horizon/tables/base.py
index adc284c9e..9011b77d3 100644
--- a/horizon/tables/base.py
+++ b/horizon/tables/base.py
@@ -585,7 +585,9 @@ class Cell(html.HTMLElement):
link_classes = ' '.join(self.column.link_classes)
# Escape the data inside while allowing our HTML to render
data = mark_safe('<a href="%s" class="%s">%s</a>' %
- (self.url, link_classes, escape(data)))
+ (escape(self.url),
+ escape(link_classes),
+ escape(data)))
return data
@property