This commit is contained in:
Liang Ding 2022-09-20 11:26:53 +08:00
parent 64bea9c004
commit aaedbb2a7f
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
5 changed files with 26 additions and 4 deletions

View file

@ -399,7 +399,7 @@ func query2Stmt(queryStr string) (ret string) {
if !entering {
return ast.WalkContinue
}
if ast.NodeTag == n.Type {
if ast.NodeTag == n.Type || (n.IsTextMarkType("tag")) {
tags = append(tags, n.Text())
}
return ast.WalkContinue