From bda2441bed5f31f32b3a2abde659d15562bea0bf Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sun, 27 Mar 2022 12:17:33 -0400 Subject: whatis2sqlite.pl: escape double-quotes --- bin/whatis2sqlite.pl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bin/whatis2sqlite.pl b/bin/whatis2sqlite.pl index b557754..b91f98d 100755 --- a/bin/whatis2sqlite.pl +++ b/bin/whatis2sqlite.pl @@ -76,9 +76,8 @@ sub make_sql { return if $seen{"$page^^$sect"}++; - # N.B. we don't escape quotes here because 14.2's whatis - # doesn't contain any double-quotes. When 15 is released, - # better check again! + # 15.0 has double-quotes in some descriptions. + $desc =~ s/"/""/g; print <