typo fix
This commit is contained in:
parent
b80525315d
commit
6242738230
@ -46,7 +46,7 @@ class HTMLOperation {
|
|||||||
* @returns {string}
|
* @returns {string}
|
||||||
*/
|
*/
|
||||||
toStubHtml(removeIcon) {
|
toStubHtml(removeIcon) {
|
||||||
// this.name is pollute with HTML if it originates from search-results, so before
|
// this.name is polluted with HTML if it originates from search-results, so before
|
||||||
// returning the HTML we purge this.name from any HTML for the data-name attribute
|
// returning the HTML we purge this.name from any HTML for the data-name attribute
|
||||||
const name = this.name.replace(/(<([^>]+)>)/ig, "");
|
const name = this.name.replace(/(<([^>]+)>)/ig, "");
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user