Create <p> tag, do not use existing tags
This commit is contained in:
parent
31b71eb244
commit
5ce78a2fb3
@ -97,7 +97,7 @@ script.
|
|||||||
templates: {
|
templates: {
|
||||||
suggestion: function (hit) {
|
suggestion: function (hit) {
|
||||||
var suggestion = hit.full_name + ' (' + hit.username + ')';
|
var suggestion = hit.full_name + ' (' + hit.username + ')';
|
||||||
var $p = $('p').text(suggestion);
|
var $p = $('<p>').text(suggestion);
|
||||||
return $p.html();
|
return $p.html();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user