Skip to content

Commit c228943

Browse files
committed
Use pre html tag for formatting
1 parent e8a164c commit c228943

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

controller/main.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ private function display_pb()
413413
$code = $snippet_text;
414414

415415
$highlighter = new \Tempest\Highlight\Highlighter();
416-
// TODO: Add option to change language used at this point html,css etc.
416+
// TODO: Add option to change language used at this point html,css etc.
417417
$code = $highlighter->parse($code, 'php');
418418

419419
$snippet_text_display = &$code;

styles/prosilver/template/pastebin_view.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ <h3>{{ SNIPPET_TITLE_V }}</h3>
2424
<dl id="pastebin-codebox" class="codebox">
2525
<dt>{{ lang('PASTEBIN_SNIPPET_TEXT') }}{{ lang('COLON') }}</dt>
2626
<dd>
27-
{{ SNIPPET_TEXT_DISPLAY }}
27+
<pre>{{ SNIPPET_TEXT_DISPLAY }}</pre>
2828
</dd>
2929
</dl>
3030

0 commit comments

Comments
 (0)