Skip to content
Permalink
Browse files

Bridge: Remove redundant <pre> and <div>.

  • Loading branch information...
janbarasek authored and dg committed Aug 29, 2019
1 parent 3b69b81 commit 9f3b88face8d6702f4074d66a937b416320aae87
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Bridges/Nette/Bridge.php
@@ -58,7 +58,7 @@ public static function renderLatteError(?\Throwable $e): ?array
'panel' => '<p><b>File:</b> ' . Helpers::editorLink($templateFile, $templateLine) . '</p>'
. ($templateLine === null
? ''
: '<pre class="code"><div>' . BlueScreen::highlightFile($templateFile, $templateLine) . '</div></pre>'),
: BlueScreen::highlightFile($templateFile, $templateLine)),
];
}
}

0 comments on commit 9f3b88f

Please sign in to comment.
You can’t perform that action at this time.