diff --git a/core/microhtml.php b/core/microhtml.php index 7dd8662e..10029333 100644 --- a/core/microhtml.php +++ b/core/microhtml.php @@ -8,11 +8,11 @@ use MicroHTML\HTMLElement; use function MicroHTML\{emptyHTML}; use function MicroHTML\A; +use function MicroHTML\CODE; +use function MicroHTML\DIV; use function MicroHTML\FORM; use function MicroHTML\INPUT; -use function MicroHTML\DIV; use function MicroHTML\OPTION; -use function MicroHTML\PRE; use function MicroHTML\P; use function MicroHTML\SELECT; use function MicroHTML\SPAN; @@ -87,7 +87,7 @@ function SHM_COMMAND_EXAMPLE(string $ex, string $desc): HTMLElement { return DIV( ["class" => "command_example"], - PRE($ex), + CODE($ex), P($desc) ); } diff --git a/core/util.php b/core/util.php index a6086f90..f12d19fd 100644 --- a/core/util.php +++ b/core/util.php @@ -708,7 +708,7 @@ function _fatal_error(\Exception $e): void
Message: '.html_escape($message).' '.$q.'
Version: '.$version.' (on '.$phpver.') -
Stack Trace:
'.$e->getTraceAsString().'+
Stack Trace:
'.$e->getTraceAsString().'