]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed some XHTML problems
authormoodler <moodler>
Thu, 16 Aug 2007 07:29:27 +0000 (07:29 +0000)
committermoodler <moodler>
Thu, 16 Aug 2007 07:29:27 +0000 (07:29 +0000)
blocks/tag_flickr/block_tag_flickr.php

index e306b12c1e4a2c740de1738629a869c6cd5bf94e..cdf34d2da0e9542d94dd799964ae6deb885d5ad4 100644 (file)
@@ -101,7 +101,7 @@ class block_tag_flickr extends block_base {
         $text = '';
         foreach ($photos as $photo) {
             $text .= '<a href="http://www.flickr.com/photos/' . $photo['owner'] . '/' . $photo['id'] . '/">';
-            $text .= '<img title="'.$photo['title'].'" alt="'.$photo['title'].'" class="flickr-photos" src="' . $this->build_photo_url($photo, 'square') . '" /></a>' ;
+            $text .= '<img title="'.s($photo['title']).'" alt="'.s($photo['title']).'" class="flickr-photos" src="' . $this->build_photo_url($photo, 'square') . '" /></a>' ;
         }