commit | 03a33ea3a85f9f2ed158f678295b7605f2f9721a | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sun Jun 26 21:02:49 2005 +0000 |
committer | Georg Brandl <georg@python.org> | Sun Jun 26 21:02:49 2005 +0000 |
tree | b242332ec9de0fcebf681bddfa15a4a4bd33a8b5 | |
parent | 7e7688c2ec409c3eb5e441a01d0fa3f13481b54f [diff] |
bug [ 1108948 ] Cookie.py produces invalid code
diff --git a/Lib/Cookie.py b/Lib/Cookie.py index a6ca654..4661d7c 100644 --- a/Lib/Cookie.py +++ b/Lib/Cookie.py
@@ -470,9 +470,9 @@ def js_output(self, attrs=None): # Print javascript return """ - <SCRIPT LANGUAGE="JavaScript"> + <script type="text/javascript"> <!-- begin hiding - document.cookie = \"%s\" + document.cookie = \"%s\"; // end hiding --> </script> """ % ( self.OutputString(attrs), )