Changeset - b84f495d82ce
[Not reviewed]
default
0 1 0
Mads Kiilerich - 6 years ago 2019-12-07 04:20:58
mads@kiilerich.com
Grafted from: 48abbc85bca4
journal: don't include email in author name - avoid double data

In journal RSS feed, report author as:
<author>name@example.com (User Name)</author>
instead of double email due to:
<author>name@example.com (User Name &lt;name@example.com&gt;)</author>

In the journal ATOM feed, report author as:
<author>
<name>user Name</name>
<email>test_admin@example.com</email>
</author>
instead of using double email due to:
<name>name@example.com (User Name &lt;name@example.com&gt;)</name>
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
kallithea/controllers/journal.py
Show inline comments
 
@@ -134,7 +134,7 @@ class JournalController(BaseController):
 
                          pubdate=entry.action_date,
 
                          link=_url or h.canonical_url(''),
 
                          author_email=user.email,
 
                          author_name=user.full_contact,
 
                          author_name=user.full_name_or_username,
 
                          description=action_extra())
 

	
 
        response.content_type = feed.mime_type
0 comments (0 inline, 0 general)