Fix top menu warning: escape javascript ul

This commit is contained in:
Alexander Meindl 2022-11-01 18:02:23 +01:00
parent 9539bf7913
commit d4dffa6b05

View File

@ -6,7 +6,7 @@
- if @additionals_help_items.present?
javascript:
$(function() {
$('a.help').parent().append("<ul class=\"menu-children\">#{escape_javascript @additionals_help_items}</ul>");
$('a.help').parent().append("<ul class=\"menu-children\">#{escape_javascript @additionals_help_items}<\/ul>");
});
- if Additionals.setting? :open_external_urls