feat: replace JS card-link data-href with CSS overlay and add DOMPurify sanitizer

This commit is contained in:
2026-05-27 20:03:12 +00:00
parent f0c4feb167
commit a8466da5b2
19 changed files with 68 additions and 77 deletions
+1 -1
View File
@@ -141,7 +141,7 @@
{% endif %}
{% if is_owner %}
<form method="POST" action="/projects/delete/{{ project['slug'] or project['uid'] }}" style="display:inline;">
<button type="submit" class="project-star-btn" data-confirm="Delete this project?"><span class="icon">&#x1F5D1;&#xFE0F;</span>Delete</button>
<button type="submit" class="project-star-btn" data-confirm="Delete this project?"><span class="icon">&#x1F5D1;&#xFE0F;</span> Delete</button>
</form>
{% endif %}
</div>