1
0
Fork 0

Merge pull request #6147 from Alkarex/stylesheet-path-html-encoding

Fix lack of HTML encoding for stylesheet link
This commit is contained in:
Hypolite Petovan 2018-11-17 09:55:26 -05:00 committed by GitHub
commit ce82f5cec9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@
<link rel="stylesheet" href="view/asset/perfect-scrollbar/css/perfect-scrollbar.min.css" type="text/css" media="screen" />
{{foreach $stylesheets as $stylesheetUrl}}
<link rel="stylesheet" href="{{$stylesheetUrl}}" type="text/css" media="screen" />
<link rel="stylesheet" href="{{$stylesheetUrl|escape:"html":"UTF-8"}}" type="text/css" media="screen" />
{{/foreach}}
<link rel="shortcut icon" href="{{$shortcut_icon}}" />

View file

@ -26,7 +26,7 @@
<link rel="stylesheet" href="view/theme/frio/font/open_sans/open-sans.css" type="text/css" media="screen"/>
{{foreach $stylesheets as $stylesheetUrl}}
<link rel="stylesheet" href="{{$stylesheetUrl}}" type="text/css" media="screen" />
<link rel="stylesheet" href="{{$stylesheetUrl|escape:"html":"UTF-8"}}" type="text/css" media="screen" />
{{/foreach}}
{{* own css files *}}