Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gradle/validation/rat-config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<!-- Various BSD-like third-party libraries with non-standard copyright headers -->
<license family="BSD-modi" id="BSD-modi" name="Modified BSD License">
<any>
<text>THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS</text> <!-- highlight.js -->
<text>THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS</text> <!-- highlight.js -->
</any>
</license>

Expand Down
8 changes: 6 additions & 2 deletions solr/webapp/web/css/angular/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -465,9 +465,11 @@ pre.syntax.language-json .number
color: blue;
}

pre.syntax.language-json .literal
pre.syntax.language-json .literal,
pre.syntax.language-json .literal .keyword
{
color: firebrick;
font-weight: normal;
}

pre.syntax .string,
Expand Down Expand Up @@ -515,14 +517,16 @@ pre.syntax .django .tag .keyword
}

pre.syntax .attribute,
pre.syntax .attr,
pre.syntax .variable,
pre.syntax .instancevar,
pre.syntax .lisp .body
{
color: #008080;
}

pre.syntax.language-json .attribute
pre.syntax.language-json .attribute,
pre.syntax.language-json .attr
{
color: black;
font-weight: bold;
Expand Down
2 changes: 1 addition & 1 deletion solr/webapp/web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
<script src="libs/angular-route.min.js?_=${version}"></script>
<script src="libs/angular-cookies.min.js?_=${version}"></script>
<script src="libs/ngtimeago.js?_=${version}"></script>
<script src="libs/highlight.js?_=${version}"></script>
<script src="libs/highlight.js-11.12.0.min.js?_=${version}"></script>
<script src="libs/d3.js?_=${version}"></script>
<script src="libs/ui-grid.min.js?_=${version}"></script>
<script src="libs/solr/index.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion solr/webapp/web/js/angular/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ solrAdminApp.config([
})
.filter('highlight', function($sce) {
return function(input, lang) {
if (lang && input && lang!="txt" && lang!="csv") return hljs.highlight(lang, input).value;
if (lang && input && hljs.getLanguage(lang)) return hljs.highlight(input, {language: lang}).value;
return input;
}
})
Expand Down
31 changes: 0 additions & 31 deletions solr/webapp/web/libs/highlight.js

This file was deleted.

Loading
Loading