Skip to content

Commits atom feed is double-escaped

Summary

The commits newsfeed (for example https://gitlab.com/apparmor/apparmor/commits/master?format=atom) is double-escaped - my Feedreader displays HTML entity codes like 
 instead of the expected characters.

Steps to reproduce

Add https://gitlab.com/apparmor/apparmor/commits/master?format=atom to your Feedreader (I tested with Akregator, but others probably show the same behaviour)

Example Project

See above.

What is the current bug behavior?

My Feedreader displays (just showing an example)

Merge branch 'fix-pulse-config' into 'master'
Date: 17.12.17 17:19 
Author:Christian Boltz
&#x000A;Fix local pulseaudio config file access&#x000A;&#x000A;See merge request <a href="/apparmor/apparmor/merge_requests/38" data-original="apparmor/apparmor!38" data-link="false" data-project="4484878" data-merge-request="6743761" data-reference-type="merge_request" data-container="body" data-placement="bottom" title="Fix local pulseaudio config file access" class="gfm gfm-merge_request has-tooltip">!38</a>&#x000A;&#x000A;&#x000A;Acked-by: Christian Boltz &lt;user@example.com&gt; for 2.9..trunk

What is the expected correct behavior?

Merge branch 'fix-pulse-config'; into 'master'
Date:17.12.17 17:19 
Author:Christian Boltz

Fix local pulseaudio config file access

See merge request !38

Acked-by: Christian Boltz <user@example.com> for 2.9..trunk

(!38 should be a link to the merge request on gitlab)

Output of checks

This bug happens on/with GitLab.com.

Note that the commits feed contains for example &amp;#x000A; which then gets displayed as &#x000A;. It would render correctly if the feed would contain &#x000A;' (without escaping &as&`). My guess is that the HTML gets escaped twice.