diff --git a/lib/weblib.php b/lib/weblib.php index 415cbff7274..4b708e24817 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -1928,9 +1928,9 @@ function print_heading($text, $align='', $size=2) { * @param string $icon Image to display if needed */ function print_heading_with_help($text, $helppage, $module='moodle', $icon='') { - echo "$icon".stripslashes_safe($text); + echo '

'.$icon.stripslashes_safe($text); helpbutton($helppage, $text, $module); - echo ""; + echo '

'; } /** @@ -3323,7 +3323,7 @@ function notify ($message, $style='notifyproblem', $align='center') { $message = clean_text($message); - echo '
'. $message .'
' . "\n"; + echo '

'. $message .'

' . "
\n"; }