mirror of https://github.com/apache/lucene.git
SOLR-8379: UI Cloud->Tree view now shows .txt files correctly. This closes #58
(cherry picked from commit 96280d1
)
This commit is contained in:
parent
c434eff828
commit
0df3d5ad45
|
@ -146,6 +146,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
|
||||
----------------------
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue