mirror of https://github.com/apache/lucene.git
SOLR-9624: Do not highlight CSV output
This commit is contained in:
parent
4b3e7f2fe2
commit
94c796968a
|
@ -120,6 +120,8 @@ Bug Fixes
|
|||
* SOLR-9716: RecoveryStrategy sends prep recovery command without setting read time out which can cause
|
||||
replica 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
|
||||
----------------------
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue