Fixed double rendering of attachments and repository annotates
Merge pull request #1942 from bjornblissing/release/3.0

Fixed double rendering of attachments and repository annotates