Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2bb8b78

Browse files
committed
remove "</>" from the end when printing HTML
1 parent a019312 commit 2bb8b78

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

javascript/ql/src/semmle/javascript/PrintAst.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ module PrintHTML {
662662

663663
HTMLElementNode() { this = THTMLElementNode(element) }
664664

665-
override string toString() { result = getQlClass(element) + element.toString() }
665+
override string toString() { result = getQlClass(element) + "<" + element.getName() + " ..." }
666666

667667
override Location getLocation() { result = element.getLocation() }
668668

0 commit comments

Comments
 (0)