Show More
@@ -204,7 +204,7 b' def nl2br(text):' | |||||
204 | return text.replace('\n', '<br/>\n') |
|
204 | return text.replace('\n', '<br/>\n') | |
205 |
|
205 | |||
206 | def obfuscate(text): |
|
206 | def obfuscate(text): | |
207 |
text = unicode(text, |
|
207 | text = unicode(text, util._encoding, 'replace') | |
208 | return ''.join(['&#%d;' % ord(c) for c in text]) |
|
208 | return ''.join(['&#%d;' % ord(c) for c in text]) | |
209 |
|
209 | |||
210 | def domain(author): |
|
210 | def domain(author): |
General Comments 0
You need to be logged in to leave comments.
Login now