Fixed description hiighlighting issue

This commit is contained in:
n1474335 2021-02-09 11:37:25 +00:00
parent fe6df8778f
commit 83e49da7f6
2 changed files with 3 additions and 5 deletions

View file

@ -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;