Fix qute://gpl
This commit is contained in:
parent
55815bd17b
commit
378b280f9a
@ -314,7 +314,7 @@ def qute_log(url):
|
|||||||
@add_handler('gpl')
|
@add_handler('gpl')
|
||||||
def qute_gpl(_url):
|
def qute_gpl(_url):
|
||||||
"""Handler for qute://gpl. Return HTML content as string."""
|
"""Handler for qute://gpl. Return HTML content as string."""
|
||||||
return 'text/html', utils.read_file('html/LICENSE.html')
|
return 'text/html', utils.read_file('html/license.html')
|
||||||
|
|
||||||
|
|
||||||
@add_handler('help')
|
@add_handler('help')
|
||||||
|
@ -217,3 +217,9 @@ Feature: Special qute:// pages
|
|||||||
Scenario: Open qute://version
|
Scenario: Open qute://version
|
||||||
When I open qute://version
|
When I open qute://version
|
||||||
Then the page should contain the plaintext "Version info"
|
Then the page should contain the plaintext "Version info"
|
||||||
|
|
||||||
|
# qute://gpl
|
||||||
|
|
||||||
|
Scenario: Open qute://gpl
|
||||||
|
When I open qute://gpl
|
||||||
|
Then the page should contain the plaintext "GNU GENERAL PUBLIC LICENSE"
|
||||||
|
Loading…
Reference in New Issue
Block a user