Fix commands that have HTML characters in them
This commit is contained in:
parent
7b0cffa69c
commit
edbfe22ea8
5 changed files with 53 additions and 28 deletions
|
@ -220,7 +220,7 @@ ImageHistoryTree.prototype.draw = function(container) {
|
|||
html += '<span class="comment">' + formatComment(d.image.comment) + '</span>';
|
||||
}
|
||||
if (d.image.command && d.image.command.length) {
|
||||
html += '<span class="command info-line"><i class="fa fa-terminal"></i>' + formatCommand(d.image.command) + '</span>';
|
||||
html += '<span class="command info-line"><i class="fa fa-terminal"></i>' + formatCommand(d.image) + '</span>';
|
||||
}
|
||||
html += '<span class="created info-line"><i class="fa fa-calendar"></i>' + formatTime(d.image.created) + '</span>';
|
||||
return html;
|
||||
|
|
Reference in a new issue