feat(search.html): update to disable and show loading state w/load more button; improve fuzzy search + debounce

This commit is contained in:
Cory Dransfeldt 2025-05-29 10:03:35 -07:00
parent 63db0cf32a
commit 8a6e84cb35
No known key found for this signature in database
35 changed files with 119 additions and 395 deletions

View file

@ -43,7 +43,7 @@
decoding="async"
width="' . $width . '"
height="' . $height . '"
/>';
>';
echo '</div>';
echo $closeLink;
}

View file

@ -7,7 +7,7 @@ function renderTags(array $tags): void {
foreach ($tags as $tag) {
$slug = strtolower(trim($tag));
echo '<a href="/tags/' . htmlspecialchars($slug) . '">#' . htmlspecialchars($slug) . '</a>';
echo '<a href="/tags/' . rawurlencode($slug) . '">#' . htmlspecialchars($slug) . '</a>';
}
echo '</div>';