--- drigg_embed_old/drigg_embed.module	2008-08-30 00:48:37.000000000 -0700
+++ drigg_embed.module	2008-10-31 21:17:35.000000000 -0700
@@ -207,7 +207,7 @@ function drigg_embed_contents($o,$node_u
 
     if(preg_match('|http://videos.sapo.pt/(.*)/?$|', $url, $matches)){
       if($teaser){
-        $return = '<div class="embedded-sapo teaser"><a href="'.$node_url.'"><img src="http://imgs.sapo.pt/sapovideo/imgs/logo_video.gif" width="80" height="60" title="'.$o->title.'"/></div>';
+        $return = '<div class="embedded-sapo teaser"><a href="'.$node_url.'"><img src="http://imgs.sapo.pt/sapovideo/imgs/logo_video.gif" width="80" height="60" title="'.$o->title.'" /></div>';
       } else {      
         $return = '<div class="embedded-sapo"><embed src="http://rd3.videos.sapo.pt/play?file=http://rd3.videos.sapo.pt/'.$matches[1].'" type="application/x-shockwave-flash" width="400" height="322"> </embed>';
       }
@@ -219,7 +219,7 @@ function drigg_embed_contents($o,$node_u
 
     if(preg_match('|video.yahoo.com/watch/([^/]*)/(.*)$|', $url, $matches)){
       if($teaser){
-        $return = '<div class="embedded-yahoo_video teaser"><a href="'.$node_url.'"><img src="http://thmg01.video.search.yahoo.com/image/'.$matches[1].'_01" width="80" height="60" title="'.$o->title.'"/></div>';
+        $return = '<div class="embedded-yahoo_video teaser"><a href="'.$node_url.'"><img src="http://thmg01.video.search.yahoo.com/image/'.$matches[1].'_01" width="80" height="60" title="'.$o->title.'" /></div>';
       } else {      
         $return = '<div class="embedded-yahoo_video"><object width="512" height="323"><param name="movie" value="http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.0.41" /><param name="allowFullScreen" value="true" /><param name="flashVars" value="id='.$matches[1].'&vid='.$matches[2].'&lang=en-US&intl=us" /><embed src="http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.0.41" type="application/x-shockwave-flash" width="512" height="323" allowFullScreen="true" flashVars="id='.$matches[2].'&vid='.$matches[1].'&lang=en-US&intl=us"></embed></object></div>';
       }
@@ -231,7 +231,7 @@ function drigg_embed_contents($o,$node_u
 
     if(preg_match('|video.google.com/videoplay\?docid=(.*)$|', $url, $matches)){
       if($teaser){
-        $return = '<div class="embedded-google_video teaser"><a href="'.$node_url.'"><img src="http://video.google.com/img/logo_video.gif" width="80" height="60" title="'.$o->title.'"/></div>';
+        $return = '<div class="embedded-google_video teaser"><a href="'.$node_url.'"><img src="http://video.google.com/img/logo_video.gif" width="80" height="60" title="'.$o->title.'" /></div>';
       } else {
         $return = '<div class="embedded-google_video"><embed class="width:400px; height:326px;" id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId='.$matches[1].'&hl=en" flashvars=""> </embed></div>';
       }
@@ -244,7 +244,7 @@ function drigg_embed_contents($o,$node_u
     if(preg_match('|www.spike.com/video/(.*)$|', $url, $matches)){
       $split = explode("/", $matches[1]);
       if($teaser){
-        $return = '<div class="embedded-ifilm teaser"><a href="'.$node_url.'"><img src="http://img1.ifilmpro.com/resize/image/stills/films/resize/istd/'.$split[1].'.jpg?width=80&height=60" width="80" height="60" title="'.$o->title.'"/></div>';
+        $return = '<div class="embedded-ifilm teaser"><a href="'.$node_url.'"><img src="http://img1.ifilmpro.com/resize/image/stills/films/resize/istd/'.$split[1].'.jpg?width=80&height=60" width="80" height="60" title="'.$o->title.'" /></div>';
       } else {
         $return = '<div class="embedded-ifilm"><embed wmode="transparent" width="425" height="350" src="http://www.spike.com/efp" quality="high" bgcolor="000000" name="efp" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="flvbaseclip='.$matches[1].'&"> </embed></div>';
       }
@@ -281,7 +281,7 @@ function drigg_embed_contents($o,$node_u
     if(preg_match('|www\.metacafe\.com/watch/(.*?)/?$|', $url, $matches)){
       $split = explode("/", $matches[1]);
       if($teaser){
-        $return = '<div class="embedded-metacafe teaser"><a href="'.$node_url.'"><img src="http://s3.mcstatic.com/thumb/'.$split[0].'.jpg" width="80" height="60" border=1 title="'.$o->title.'"></a></div>';
+        $return = '<div class="embedded-metacafe teaser"><a href="'.$node_url.'"><img src="http://s3.mcstatic.com/thumb/'.$split[0].'.jpg" width="80" height="60" title="'.$o->title.'"></a></div>';
       } else {
         $return = '<div class="embedded-metacafe"><embed src="http://www.metacafe.com/fplayer/'.$matches[1].'.swf" width="400" height="345" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"> </embed></div>';
       }
@@ -294,7 +294,7 @@ function drigg_embed_contents($o,$node_u
 
     if(preg_match('/youtube\.com\/watch\?v=([A-Za-z0-9._%-]*)[&\w;=\+_\-]*/', $url, $matches)){
       if($teaser){
-        $return = '<div class="embedded-youtube teaser"><a href="'.$node_url.'"><img src="http://img.youtube.com/vi/'.$matches[1].'/0.jpg" width="80" height="60" border=1 title="'.$o->title.'"></a></div>';
+        $return = '<div class="embedded-youtube teaser"><a href="'.$node_url.'"><img src="http://img.youtube.com/vi/'.$matches[1].'/0.jpg" width="80" height="60" title="'.$o->title.'" /></a></div>';
       } else {
         $return = '<div class="embedded-youtube"><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/'.$matches[1].'&rel=1"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/'.$matches[1].'&rel=1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object></div>';
       }
@@ -308,7 +308,7 @@ function drigg_embed_contents($o,$node_u
 
     if(preg_match("|\.mp3$|",  $url)){
       if($teaser){
-        return '<div class="embedded-mp3 teaser"><a href="'.$node_url.'"><img src="'.path_to_theme().'/img/audio_icon.png" width="32" height="32" border=0 title="'.$o->title.'"></a></div>';
+        return '<div class="embedded-mp3 teaser"><a href="'.$node_url.'"><img src="'.path_to_theme().'/img/audio_icon.png" width="32" height="32" border=0 title="'.$o->title.'" /></a></div>';
       } else {
         if (variable_get('drigg_url_noshow_mp3',FALSE)) {
           $o->url="node/";
