mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 15:26:16 -04:00
Fixed description hiighlighting issue
This commit is contained in:
parent
fe6df8778f
commit
83e49da7f6
2 changed files with 3 additions and 5 deletions
|
@ -111,7 +111,7 @@ class HTMLOperation {
|
|||
this.name = opName;
|
||||
}
|
||||
|
||||
if (this.description && descIdxs.length) {
|
||||
if (this.description && descIdxs.length && descIdxs[0][0] >= 0) {
|
||||
// Find HTML tag offsets
|
||||
const re = /<[^>]+>/g;
|
||||
let match;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue