diff --git a/public/src/widgets.js b/public/src/widgets.js
index 9e34ba9513..2200f58d5e 100644
--- a/public/src/widgets.js
+++ b/public/src/widgets.js
@@ -51,12 +51,12 @@
if (!area.length && window.location.pathname.indexOf('/admin') === -1 && renderedWidgets.length) {
if (location === 'footer' && !$('#content [widget-area="footer"]').length) {
- $('#content').append($('
'));
+ $('#content').append($(''));
} else if (location === 'sidebar' && !$('#content [widget-area="sidebar"]').length) {
- $('#content > *').wrapAll($(''));
- $('#content').append($(''));
+ $('#content > *').wrapAll($(''));
+ $('#content').append($(''));
} else if (location === 'header' && !$('#content [widget-area="header"]').length) {
- $('#content').prepend($(''));
+ $('#content').prepend($(''));
}
area = $('#content [widget-area="' + location + '"]');