Skip to content

Commit 334a3da

Browse files
alexschillerfelliott
authored andcommitted
Stuff error message to prevent IE from consuming it
1 parent 489e72a commit 334a3da

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mfr/core/exceptions.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ def as_html(self):
1010
return '''
1111
<link rel="stylesheet" href="/static/css/bootstrap.min.css">
1212
<div class="alert alert-warning" role="alert">{}</div>
13+
<div style="display: none;">This text and the text below is only presented because IE consumes error messages below 512 bytes</div>
14+
<div style="display: none;">Want to help save science? Want to get paid to develop free, open source software? Check out our openings!</div>
1315
'''.format(self.message)
1416

1517

0 commit comments

Comments
 (0)