Google plugin: parse " to quotation marks in movie titles
authorPhilipp Zabel <philipp.zabel@gmail.com>
Thu, 7 Jan 2010 17:35:22 +0000 (18:35 +0100)
committerPhilipp Zabel <philipp.zabel@gmail.com>
Thu, 7 Jan 2010 17:41:34 +0000 (18:41 +0100)
src/plugins/google-parser.vala

index 204e913..fa71710 100644 (file)
@@ -178,6 +178,11 @@ public class GoogleParser : Object {
                                i += 4;
                                continue;
                        }
+                       if (s.offset (i).has_prefix ("&quot;")) {
+                               result += "\"";
+                               i += 5;
+                               continue;
+                       }
                        result += s.substring (i, 1);
                }