Skip to content

Commit

Permalink
temporarily disable mark counts for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
timcowlishaw committed Nov 8, 2023
1 parent bd604f4 commit b60dfd2
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/caselawclient/xquery/xslt_transform.xqy
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,10 @@ let $retrieved_value := if (xs:boolean($is_published) or $show_unpublished) then
()

let $return_value := if($query) then
xdmp:xslt-eval(
$number_marks_xslt,
cts:highlight(
$retrieved_value,
helper:make-q-query($query),
<mark>{$cts:text}</mark>
)
cts:highlight(
$retrieved_value,
helper:make-q-query($query),
<mark>{$cts:text}</mark>
)
else
$retrieved_value
Expand Down

0 comments on commit b60dfd2

Please sign in to comment.