Commit 03a33ea3 authored by Georg Brandl's avatar Georg Brandl

bug [ 1108948 ] Cookie.py produces invalid code

parent 7e7688c2
...@@ -470,9 +470,9 @@ class Morsel(dict): ...@@ -470,9 +470,9 @@ class Morsel(dict):
def js_output(self, attrs=None): def js_output(self, attrs=None):
# Print javascript # Print javascript
return """ return """
<SCRIPT LANGUAGE="JavaScript"> <script type="text/javascript">
<!-- begin hiding <!-- begin hiding
document.cookie = \"%s\" document.cookie = \"%s\";
// end hiding --> // end hiding -->
</script> </script>
""" % ( self.OutputString(attrs), ) """ % ( self.OutputString(attrs), )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment