IMDb SQLite: unescape quotation marks when retrieving plots from the database
authorPhilipp Zabel <philipp.zabel@gmail.com>
Thu, 28 Jan 2010 17:31:10 +0000 (18:31 +0100)
committerPhilipp Zabel <philipp.zabel@gmail.com>
Wed, 14 Jul 2010 21:34:08 +0000 (23:34 +0200)
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 ("&quot;", "\"");
                        }
                } while (rc == Sqlite.ROW);