]> git.mjollnir.org Git - moodle.git/commitdiff
Fixes for XHTML Strict 1.0
authormoodler <moodler>
Mon, 13 Aug 2007 06:28:08 +0000 (06:28 +0000)
committermoodler <moodler>
Mon, 13 Aug 2007 06:28:08 +0000 (06:28 +0000)
blocks/tag_youtube/block_tag_youtube.php

index 08110478b03a7cf7dbdae1cfd589fc4882d9308a..14815dff8a8aeff6934fe4ce0d088210ff718b88 100644 (file)
@@ -161,7 +161,7 @@ class block_tag_youtube extends block_base {
             $text .= '<tr>';
             $text .= '<td>';
             $text .= '<a href="'. $video['url'] . '">';
-            $text .= '<img class="youtube-thumb" title="'.$video['title'].'" style="padding:3px;" src="' . $video['thumbnail_url'] . '"/>' ;
+            $text .= '<img alt="'.s($video['title']).'" class="youtube-thumb" title="'.$video['title'].'" style="padding:3px;" src="' . $video['thumbnail_url'] . '"/>' ;
             $text .= "</a>";
             $text .= "</td>";
             $text .= '<td>';