diff --git a/ui/scripts/ui/core.js b/ui/scripts/ui/core.js index add7d06dedb..6912d1b32ef 100644 --- a/ui/scripts/ui/core.js +++ b/ui/scripts/ui/core.js @@ -50,7 +50,7 @@ .addClass('navigation-item') .addClass(sectionID) .append($('').addClass('icon').html(' ')) - .append($('').html(_l(args.title))) + .append($('').text(_l(args.title))) .data('cloudStack-section-id', sectionID); if (args.customIcon) { @@ -223,7 +223,7 @@ id: 'user' }).addClass('button') .append( - $('
').addClass('name').html( + $('
').addClass('name').text( args.context && args.context.users ? cloudStack.concat(userLabel, 14) : 'Invalid User' ) @@ -258,7 +258,7 @@ $('
').attr({ id: 'breadcrumbs' }) - .append($('
').addClass('home').html(_l('label.home'))) + .append($('
').addClass('home').text(_l('label.home'))) .append($('
').addClass('end')) ) @@ -309,7 +309,7 @@ .attr({ href: '#' }) - .html(_l(this.toString())) + .text(_l(this.toString())) .appendTo($options); if (this == 'label.help') { @@ -323,8 +323,8 @@ } if (this == 'label.about') { $link.addClass('about').click(function() { - var $logo = $('
').addClass('logo').html(_l('label.app.name')), - $version = $('
').addClass('version').html(g_cloudstackversion), + var $logo = $('
').addClass('logo').text(_l('label.app.name')), + $version = $('
').addClass('version').text(g_cloudstackversion), $about = $('
').addClass('about').append($logo).append($version); $about.dialog({ modal: true,