mirror of
https://github.com/github/codeql.git
synced 2026-05-05 21:55:19 +02:00
Javascript: Autoformat.
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
import javascript
|
||||
|
||||
from HTML::TextNode t, string cdata
|
||||
where t.toString().trim().length() > 0 and if t.isCData() then cdata = "(cdata)" else cdata = ""
|
||||
where
|
||||
t.toString().trim().length() > 0 and
|
||||
if t.isCData() then cdata = "(cdata)" else cdata = ""
|
||||
select t, t.getParent(), t.getIndex(), cdata
|
||||
|
||||
Reference in New Issue
Block a user