app.service("cardService", function() {
  this.getCardUrl = function(name) {
    return "http://gatherer.wizards.com/Pages/Card/Details.aspx?name=" + name;
  };
  
  this.getCardImage = function(name) {
    return "http://gatherer.wizards.com/Handlers/Image.ashx?name=" + name + "&type=card&.jpg";
  };
});
@@ -62,32 +62,69 @@
 unction(name) %7B%0A
+    name = this.sanitizeName_(name);%0A
     return %22http
@@ -186,16 +186,16 @@
 + name;%0A
-
   %7D;%0A  %0A
@@ -229,24 +229,61 @@
 ion(name) %7B%0A
+    name = this.sanitizeName_(name);%0A
     return %22
@@ -365,16 +365,104 @@
 &.jpg%22;%0A
-
   %7D;%0A
+  %0A  this.sanitizeName_ = function(name) %7B%0A    return name.replace(%22%5Cu00C6%22, %22Ae%22);%0A  %7D%0A
 %7D);

Fix card image/links that have Æ in the name