IMDb SQLite: unescape quotation marks when retrieving plots from the database
[cinaest] / src / imdb / imdb-sqlite.vala
index b53262a..81e0672 100644 (file)
@@ -233,7 +233,7 @@ class IMDbSqlite : Object {
                do {
                        rc = stmt.step ();
                        if (rc == Sqlite.ROW) {
-                               return stmt.column_text (0);
+                               return stmt.column_text (0).replace (""", "\"");
                        }
                } while (rc == Sqlite.ROW);