diff --git a/doc/changelog.txt b/doc/changelog.txt index 95564a80..0fe59a44 100644 --- a/doc/changelog.txt +++ b/doc/changelog.txt @@ -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. diff --git a/linkcheck/logger/sql.py b/linkcheck/logger/sql.py index 7950311e..0ec117dc 100644 --- a/linkcheck/logger/sql.py +++ b/linkcheck/logger/sql.py @@ -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):