Skip to content

Commit 2ae780c

Browse files
authored
Update script.js
1 parent d4b0802 commit 2ae780c

File tree

1 file changed

+1
-1
lines changed
  • Specialized Areas/Regular Expressions/Img Tag Regex validator

1 file changed

+1
-1
lines changed

Specialized Areas/Regular Expressions/Img Tag Regex validator/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ while (kbArt.next()) {
1313
var imgRegex = /<img([\w\W]+?)>/; // Regex for checking img tag.
1414
var regex = new RegExp(imgRegex); // forming regex using SN.
1515
if (kbArt.getValue('text') && regex.test(kbArt.getValue('text'))) { // if article body is not empty and has image tag.
16-
gs.info("Raghav Image is found in KB Article: " + kbArt.getValue('number'));
16+
gs.info("Image is found in KB Article: " + kbArt.getValue('number'));
1717
}
1818
}

0 commit comments

Comments
 (0)