]> git.mjollnir.org Git - moodle.git/commitdiff
fix for Bug #4733 title gets garbled when html inside title.
authordanmarsden <danmarsden>
Sun, 23 Jul 2006 22:05:18 +0000 (22:05 +0000)
committerdanmarsden <danmarsden>
Sun, 23 Jul 2006 22:05:18 +0000 (22:05 +0000)
blocks/html/config_instance.html

index 6c6cacb17eefc85f382590104fb5194d34afe29f..8138488d02646602c616479225f7b0faca92e7f7 100755 (executable)
@@ -2,7 +2,7 @@
 <table cellpadding="9" cellspacing="0">
 <tr valign="top">
     <td align="right"><?php print_string('configtitle', 'block_html'); ?>:</td>
-    <td><input type="text" name="title" size="30" value="<?php echo isset($this->config->title)?$this->config->title:''; ?>" /> (<?php print_string('leaveblanktohide', 'block_html'); ?>)</td>
+    <td><input type="text" name="title" size="30" value="<?php echo isset($this->config->title)?p($this->config->title):''; ?>" /> (<?php print_string('leaveblanktohide', 'block_html'); ?>)</td>
 </tr>
 <tr valign="top">
     <td align="right"><?php print_string('configcontent', 'block_html'); ?>:</td>