SOLR-8379: UI Cloud->Tree view now shows .txt files correctly. This closes #58

This commit is contained in:
Jan Høydahl 2016-07-29 00:44:53 +02:00
parent d12b93e272
commit 96280d15e3
2 changed files with 3 additions and 1 deletions

View File

@ -180,6 +180,8 @@ Bug Fixes
* SOLR-8645: managed-schema is now syntax highlighted in cloud->Tree view (Alexandre Rafalovitch via janhoy)
* SOLR-8379: UI Cloud->Tree view now shows .txt files correctly (Alexandre Rafalovitch via janhoy)
Optimizations
----------------------

View File

@ -148,7 +148,7 @@ solrAdminApp.config([
})
.filter('highlight', function($sce) {
return function(input, lang) {
if (lang && input && lang!="text") return hljs.highlight(lang, input).value;
if (lang && input && lang!="txt") return hljs.highlight(lang, input).value;
return input;
}
})