Commit 4595cd72 authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

ui: Escape machine name in machines list view

parent 200b9bff
......@@ -362,7 +362,7 @@
img = img + '<img src="'+snf.config.indicators_icons_url+'medium/wave.gif" class="wave" />';
img = img + '<span class="action-indicator" />';
var name = util.truncate(vm.get('name'), 25);
var name = _.escape(util.truncate(vm.get('name'), 25));
var flavor = vm.get_flavor().details_string();
var status = STATE_TEXTS[vm.state()];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment