Mercurial > libervia-web
diff src/server/blog.py @ 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 | 0c0551967bdf |
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