Skip to content

Commit

Permalink
Don't use HTML in exceptions
Browse files Browse the repository at this point in the history
Fix #506
Fix #511
  • Loading branch information
untitaker committed Aug 22, 2014
1 parent 123c881 commit 113841b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions werkzeug/exceptions.py
Expand Up @@ -313,9 +313,9 @@ class Gone(HTTPException):
"""
code = 410
description = (
'The requested URL is no longer available on this server and '
'there is no forwarding address.</p><p>If you followed a link '
'from a foreign page, please contact the author of this page.'
'The requested URL is no longer available on this server and there '
'is no forwarding address. If you followed a link from a foreign '
'page, please contact the author of this page.'
)


Expand Down

0 comments on commit 113841b

Please sign in to comment.