projects
/
oweals
/
karmaworld.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cad933d
)
fix sanitize_html to write out HTML instead of repr for #160
author
Bryan Bonvallet
<btbonval@gmail.com>
Fri, 20 Dec 2013 00:19:30 +0000
(19:19 -0500)
committer
Bryan Bonvallet
<btbonval@gmail.com>
Fri, 20 Dec 2013 00:19:30 +0000
(19:19 -0500)
karmaworld/apps/notes/models.py
patch
|
blob
|
history
diff --git
a/karmaworld/apps/notes/models.py
b/karmaworld/apps/notes/models.py
index cc7a262991ca8e20089dcd55de85e3d3611760a1..47b95c8de436e81432953d66bad2db71f2dda16c 100644
(file)
--- a/
karmaworld/apps/notes/models.py
+++ b/
karmaworld/apps/notes/models.py
@@
-199,7
+199,7
@@
class Note(Document):
if a_tags > 1:
#apply the add attribute function
map(add_attribute_target, a_tags)
- self.html =
_html
+ self.html =
tostring(_html)
if save:
self.save()
return True, len(a_tags)