changeset 900:f82b97d9ca5f

server (blog): use unicode character for ellispsis in atom feed's microblog title
author Goffi <goffi@goffi.org>
date Fri, 25 Mar 2016 12:17:53 +0100
parents bc3a3e804a7a
children 9cd2ec1b722a
files src/server/blog.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/server/blog.py	Thu Mar 24 19:43:17 2016 +0100
+++ b/src/server/blog.py	Fri Mar 25 12:17:53 2016 +0100
@@ -470,7 +470,7 @@
                     title = item['title']
                 except KeyError:
                     # for microblog (without title), we use an abstract of content as title
-                    title = u'{}...'.format(u' '.join(item['content'][:70].split()))
+                    title = u'{}…'.format(u' '.join(item['content'][:70].split()))
                 entry_elt.addElement(u'title', content=title)
 
                 # HTTP link