{{-- resources/views/vendor/exceptions/renderer/components/syntax-highlight.blade.php --}} @props([ 'code' => '', 'language' => null, 'editor' => false, 'startingLine' => 1, 'highlightedLine' => null, 'truncate' => false, ]) @php // Very simple fallback: just dump the code in a
.
    // No phiki, no tokenizing, nothing that can crash.
    $output = '
'
            . htmlspecialchars($code)
            . '
'; @endphp {!! $output !!}