mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-23 13:45:49 +00:00
Fix sqlify for multiline contents.
This commit is contained in:
parent
a2978209e6
commit
91dce84c59
2 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,7 @@ Fixes:
|
|||
some sites.
|
||||
Closes: SF bug #3388291
|
||||
- logging: Fix SQL output.
|
||||
Closes: SF bug #3415274
|
||||
Closes: SF bug #3415274, #3422230
|
||||
- checking: Fix W3C HTML checking by using the new soap12 output.
|
||||
Closes: SF bug #3413022
|
||||
- gui: Fix startup when configuration file contains errors.
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ def sqlify (s):
|
|||
"""
|
||||
if not s:
|
||||
return "NULL"
|
||||
return "'%s'" % s.replace("'", "''")
|
||||
return "'%s'" % s.replace("'", "''").replace(os.linesep, r"\n")
|
||||
|
||||
|
||||
def intify (s):
|
||||
|
|
|
|||
Loading…
Reference in a new issue