Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

fix: Skip JavaScript template literals in CSS class prefix check

LearningCircuitf83a46d0752e
diff --git a/.pre-commit-hooks/check-css-class-prefix.py b/.pre-commit-hooks/check-css-class-prefix.py
index 90ce4273fd..9fbd9f7961 100755
--- a/.pre-commit-hooks/check-css-class-prefix.py
+++ b/.pre-commit-hooks/check-css-class-prefix.py
@@ -157,6 +157,10 @@ def check_html_file(file_path: Path) -> List[Tuple[int, str, str]]:
matches.extend(pattern.findall(line))
for class_attr in matches:
+ # Skip if this is a JavaScript template literal (contains ${...})
+ if "${" in class_attr:
+ continue
+
# Skip if the entire class attribute contains Jinja2 template variables
# This handles cases like class="alert alert-{{ category }}"
if "{{" in class_attr or "{%" in class_attr: