Apache Lucene open-source search software
SOLR-9624: Do not highlight CSV output
Alexandre Rafalovitch94c796968ae9
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txtindex e13d3cb00cc..1109ef781b4 100644--- a/solr/CHANGES.txt+++ b/solr/CHANGES.txt@@ -120,6 +120,8 @@ Bug Fixes* SOLR-9716: RecoveryStrategy sends prep recovery command without setting read time out which can causereplica recovery to hang indefinitely on network partitions. (Cao Manh Dat, shalin)+* SOLR-9624: In Admin UI, do not attempt to highlight CSV output (Alexandre Rafalovitch)+Other Changes----------------------diff --git a/solr/webapp/web/js/angular/app.js b/solr/webapp/web/js/angular/app.jsindex e7491fe63d4..e86b55feee0 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!="txt") return hljs.highlight(lang, input).value;+ if (lang && input && lang!="txt" && lang!="csv") return hljs.highlight(lang, input).value;return input;}})