1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

Use <code> instead of <p> so we can have it with

fixed width font, which is much more suitable for
code examples then the proportional font used now...
This commit is contained in:
Gabor Hojtsy
2002-08-17 11:04:21 +00:00
parent facebe04a6
commit 88ec969ffc

View File

@@ -380,7 +380,7 @@ function clean_note($text) {
$text = wordwrap($text);
}
$text = "<p class=\"note\">".$text."</p>";
$text = "<code class=\"note\">".$text."</code>";
return $text;
}