id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,branch,changelog,apichanges,internalchanges
11406,diff.css is added twice on the diff_view page,Ryan J Ollos,Ryan J Ollos,"On a page such as `/wiki/WikiStart?action=diff&version=2`, the `diff.css` stylesheet is added to the page twice. I noticed this when trying to modify the CSS in the browser while working on #11403.
The issue happens for all the cases in which `diff_view.html` is used, since for each case there is a call to `add_stylesheet` in the Python code as well as the linking of the stylesheet in the template code:
{{{#!pycon
$ grep -R ""diff_view\.html"" trac --exclude-dir=locale --exclude=*.pyc
trac/ticket/web_ui.py: return 'diff_view.html', data, None
trac/ticket/web_ui.py: return 'diff_view.html', data, None
trac/wiki/templates/wiki_diff.html: