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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user