mirror of
https://github.com/python/cpython.git
synced 2025-07-23 19:25:40 +00:00
bug [ 1108948 ] Cookie.py produces invalid code
This commit is contained in:
parent
7e7688c2ec
commit
03a33ea3a8
1 changed files with 2 additions and 2 deletions
|
@ -470,9 +470,9 @@ class Morsel(dict):
|
|||
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), )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue