fnp
/
prawokultury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fe6b57
)
Workaround for a weird Unicode problem.
author
Radek Czajka
<rczajka@rczajka.pl>
Thu, 26 Sep 2019 00:06:49 +0000
(
02:06
+0200)
committer
Radek Czajka
<rczajka@rczajka.pl>
Thu, 26 Sep 2019 00:08:53 +0000
(
02:08
+0200)
chunks/templatetags/chunks.py
patch
|
blob
|
history
diff --git
a/chunks/templatetags/chunks.py
b/chunks/templatetags/chunks.py
index
8b306ec
..
111c34e
100644
(file)
--- a/
chunks/templatetags/chunks.py
+++ b/
chunks/templatetags/chunks.py
@@
-21,7
+21,7
@@
def chunk(key, cache_time=0):
n = Chunk(key=key)
n.save()
return ''
- return mark_safe(
content
)
+ return mark_safe(
unicode(content)
)
@register.simple_tag