mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-08 15:25:01 -04:00
typo fix
This commit is contained in:
parent
b80525315d
commit
6242738230
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue