mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Fixed problem with label additional styles for labels
This commit is contained in:
parent
956ed9e8ae
commit
d395cf66a0
1 changed files with 2 additions and 1 deletions
|
@ -8,7 +8,8 @@
|
|||
<meta name="keywords" content="Part-DB, Label, Barcode">
|
||||
<style>
|
||||
{% include("label_system/labels/label_style.css.twig") %}
|
||||
{{ options.additionalCss | escape("html") }}
|
||||
{# We must not escape it here, as the string might contain ", which would be escaped. As user can control the whole HTML, XSS is not really a problem here. #}
|
||||
{{ options.additionalCss | raw }}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue