Fix :view-source

This commit is contained in:
Florian Bruhin 2014-10-06 22:23:12 +02:00
parent 15a2be877a
commit a19b6bf563

View File

@ -818,7 +818,6 @@ class CommandDispatcher:
full=True, linenos='table')
highlighted = pygments.highlight(html, lexer, formatter)
current_url = self._current_url()
tab = objreg.get('tabbed-browser').tabopen(explicit=True)
tab = self._tabbed_browser().tabopen(explicit=True)
tab.setHtml(highlighted, current_url)
tab.viewing_source = True