You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ep...@apache.org on 2026/10/14 16:41:34 UTC

(solr) 03/03: Actually highlight as json! This wasn't working.

This is an automated email from the ASF dual-hosted git repository.

epugh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git

commit e6bfc452c7db3a0d6b15f965482002e1e3dc4d65
Author: Eric Pugh <ep...@opensourceconnections.com>
AuthorDate: Wed Oct 14 17:41:22 2026 +0100

    Actually highlight as json!  This wasn't working.
---
 solr/webapp/web/partials/stream.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/solr/webapp/web/partials/stream.html b/solr/webapp/web/partials/stream.html
index 683cf76d943..9376c859773 100644
--- a/solr/webapp/web/partials/stream.html
+++ b/solr/webapp/web/partials/stream.html
@@ -57,7 +57,7 @@ limitations under the License.
     </div>
 
     <div id="response">
-      <pre class="syntax language-json"><code ng-bind-html="response.data | highlight:json | unsafe"></code></pre>
+      <pre class="syntax language-json"><code ng-bind-html="response.data | highlight:'json' | unsafe"></code></pre>
     </div>
   </div>