Skip to content

Commit 70d0471

Browse files
committed
Escape javascript in template code
1 parent 2a3f705 commit 70d0471

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎styles/prosilver/template/skeleton_body.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
{% INCLUDECSS '@phpbb_skeleton/skeleton.css' %}
1212

1313
<script>
14-
var warningMsg = '{{ lang('SKELETON_RESERVED_NAME_WARNING_UI') }}';
14+
var warningMsg = '{{ lang('SKELETON_RESERVED_NAME_WARNING_UI')|e('js') }}';
1515
</script>
1616

1717
<h2>{{ lang('PHPBB_CREATE_SKELETON_EXT') }}</h2>

0 commit comments

Comments
 (0)