Do not escape valid characters in custom CSS (#863)

This commit is contained in:
Sascha Ißbrücker
2024-09-28 11:17:48 +02:00
committed by GitHub
parent ebed0c050d
commit 791a5c73ca
10 changed files with 134 additions and 24 deletions

View File

@@ -30,7 +30,7 @@
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#5856e0">
{% endif %}
{% if request.user_profile.custom_css %}
<style>{{ request.user_profile.custom_css }}</style>
<link href="{% url 'bookmarks:custom_css' %}?hash={{ request.user_profile.custom_css_hash }}" rel="stylesheet" type="text/css"/>
{% endif %}
<meta name="turbo-cache-control" content="no-preview">
{% if not request.global_settings.enable_link_prefetch %}