]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-18940 meta description in main page - render multilang summary properly. Merged...
authorstronk7 <stronk7>
Sat, 25 Apr 2009 21:20:45 +0000 (21:20 +0000)
committerstronk7 <stronk7>
Sat, 25 Apr 2009 21:20:45 +0000 (21:20 +0000)
index.php

index a619fafeb0a5614c835f752c68d5de6a9b38becb..cc146022efc5b1cdb2af5df521be0173ebaf3b40 100644 (file)
--- a/index.php
+++ b/index.php
@@ -95,7 +95,7 @@
     $preferred_width_right = bounded_number(BLOCK_R_MIN_WIDTH, blocks_preferred_width($pageblocks[BLOCK_POS_RIGHT]),
                                             BLOCK_R_MAX_WIDTH);
     print_header($SITE->fullname, $SITE->fullname, 'home', '',
-                 '<meta name="description" content="'. s(strip_tags($SITE->summary)) .'" />',
+                 '<meta name="description" content="'. strip_tags(format_text($SITE->summary, FORMAT_HTML)) .'" />',
                  true, '', user_login_string($SITE).$langmenu);
 
 ?>