diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt index 306acb13f88..ece9d065413 100644 --- a/solr/CHANGES.txt +++ b/solr/CHANGES.txt @@ -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 ---------------------- diff --git a/solr/webapp/web/js/angular/app.js b/solr/webapp/web/js/angular/app.js index 8a1fe26c593..e7491fe63d4 100644 --- a/solr/webapp/web/js/angular/app.js +++ b/solr/webapp/web/js/angular/app.js @@ -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; } })