Update soy to 2024-02-26

Change-Id: I3e3efd27e9709916dafe7df92ddda0f8c699cc3c
diff --git a/external_deps.lock.json b/external_deps.lock.json
index 3c887b2..f8eb084 100755
--- a/external_deps.lock.json
+++ b/external_deps.lock.json
@@ -15,7 +15,7 @@
     "com.google.guava:failureaccess": 892280507,
     "com.google.guava:guava": -506018038,
     "com.google.protobuf:protobuf-java": -226930769,
-    "com.google.template:soy": -1248577685,
+    "com.google.template:soy": 1117193649,
     "com.google.truth:truth": 67900490,
     "com.googlecode.javaewah:JavaEWAH": -592111002,
     "com.ibm.icu:icu4j": -361890945,
@@ -118,8 +118,8 @@
     "com.google.jsinterop:jsinterop-annotations:jar:sources": 694679492,
     "com.google.protobuf:protobuf-java": -1812001120,
     "com.google.protobuf:protobuf-java:jar:sources": -322237137,
-    "com.google.template:soy": 1492232243,
-    "com.google.template:soy:jar:sources": 895044971,
+    "com.google.template:soy": 2004362564,
+    "com.google.template:soy:jar:sources": 613026710,
     "com.google.truth:truth": 530346642,
     "com.google.truth:truth:jar:sources": 494258718,
     "com.googlecode.javaewah:JavaEWAH": 536180633,
@@ -403,10 +403,10 @@
     },
     "com.google.template:soy": {
       "shasums": {
-        "jar": "f68ae7f2daa8c343075210a21014ccdf042435a2d5c0dacb39f7a78b8ea88491",
-        "sources": "0e886bf691a90d0fbe9e19e3a0eec5c7e72e4386f209e86988b6e867ba1e4441"
+        "jar": "becacbd2df937cd4416e7aa683144946048cfaa479bff54d33b0c8ca60a8fda8",
+        "sources": "f9e1cbe8c77bb4d34e2de6f303d0f24aa4781371c4dd4880deb001d83c809a37"
       },
-      "version": "2024-01-30"
+      "version": "2024-02-26"
     },
     "com.google.truth:truth": {
       "shasums": {
diff --git a/resources/com/google/gitiles/templates/Common.soy b/resources/com/google/gitiles/templates/Common.soy
index e335ae0..15e17d1 100644
--- a/resources/com/google/gitiles/templates/Common.soy
+++ b/resources/com/google/gitiles/templates/Common.soy
@@ -127,7 +127,7 @@
 {template fileSearchTrigger}
   {@inject? SEARCH_TREE_URL: string|null}
   {@inject? SEARCH_REPOSITORIES: bool|null}
-{if $SEARCH_TREE_URL or $SEARCH_REPOSITORIES}
+{if $SEARCH_TREE_URL || $SEARCH_REPOSITORIES}
   {let $label: $SEARCH_REPOSITORIES ? 'Find repository' : 'Find file' /}
 <button class="Header-menuItem FileSearch-trigger" type="button" title="{$label} (press /)" aria-label="{$label}">
   <span class="FileSearch-triggerKey" aria-hidden="true">/</span>
@@ -154,7 +154,7 @@
   {@inject? SEARCH_TREE_URL: string|null}
   {@inject? SEARCH_REPOSITORIES: bool|null}
   {@inject staticUrls: ?}
-{if $SEARCH_TREE_URL or $SEARCH_REPOSITORIES}
+{if $SEARCH_TREE_URL || $SEARCH_REPOSITORIES}
   {let $dialogLabel: $SEARCH_TREE_URL ? 'Find file' : 'Find repository' /}
   {let $inputLabel: $SEARCH_TREE_URL ? 'Find a file by path' : 'Find a repository by name' /}
 <div id="file-search" class="FileSearch" hidden
diff --git a/tools/java_deps.MODULE.bazel b/tools/java_deps.MODULE.bazel
index 1b01f21..efaf12a 100644
--- a/tools/java_deps.MODULE.bazel
+++ b/tools/java_deps.MODULE.bazel
@@ -34,7 +34,7 @@
         "com.google.guava:failureaccess:1.0.3",
         "com.google.guava:guava:33.5.0-jre",
         "com.google.protobuf:protobuf-java:4.36.2",
-        "com.google.template:soy:2024-01-30",
+        "com.google.template:soy:2024-02-26",
         "com.google.truth:truth:1.4.4",
         "com.googlecode.javaewah:JavaEWAH:1.2.3",
         "com.ibm.icu:icu4j:78.2",
@@ -112,7 +112,7 @@
 # and ships without it, so omit it here too rather than shipping the jar.
 maven.amend_artifact(
     name = "external_deps",
-    coordinates = "com.google.template:soy:2024-01-30",
+    coordinates = "com.google.template:soy:2024-02-26",
     exclusions = ["org.json:json"],
 )
 use_repo(maven, "external_deps")