Skip to content

Commit d7b4c50

Browse files
author
epriestley
committedJul 2, 2016
Fix a flipped higlight vs no-highlight condition
Ref T11257. Auditors: chad
1 parent 498cb5c commit d7b4c50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/applications/diffusion/controller/DiffusionBrowseController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ private function buildCorpus(
684684
} else {
685685
require_celerity_resource('syntax-highlighting-css');
686686

687-
if (!$can_highlight) {
687+
if ($can_highlight) {
688688
$highlighted = PhabricatorSyntaxHighlighter::highlightWithFilename(
689689
$path,
690690
$file_corpus);

0 commit comments

Comments
 (0)
Failed to load comments.