mirror of https://github.com/keeweb/keeweb.git
escaping html in tooltips
This commit is contained in:
parent
dddc4f235e
commit
cbb9a29c8d
|
@ -44,7 +44,7 @@ Tip.prototype.show = function() {
|
|||
const tipEl = (this.tipEl = $('<div></div>')
|
||||
.addClass('tip')
|
||||
.appendTo('body')
|
||||
.html(this.title));
|
||||
.text(this.title));
|
||||
const rect = this.el[0].getBoundingClientRect();
|
||||
const tipRect = this.tipEl[0].getBoundingClientRect();
|
||||
const placement = this.placement || this.getAutoPlacement(rect, tipRect);
|
||||
|
|
Loading…
Reference in New Issue