allow HTML in error message

This commit is contained in:
David Remer 2020-10-21 09:09:31 +03:00
parent 380e4827df
commit 5e7d613d17

View file

@ -22,7 +22,7 @@ class ErrorHandler {
} else {
this.wrapper.classList.remove('ppcp-persist');
}
this.wrapper.innerText = this.sanitize(text);
this.wrapper.innerHTML = this.sanitize(text);
jQuery.scroll_to_notices(jQuery('.woocommerce-notices-wrapper'))
}