Skip to content

Commit 3a4713a

Browse files
committed
tokanizer CurrentNode to GetCurrentNode to match with the library schema
1 parent a3d00d4 commit 3a4713a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tokenizer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func (t *Tokenizer) Advanced() html.TokenType {
2828

2929
// CurrentNode returns the current node.
3030
// Returned value can be nil regardless of tt.
31-
func (t *Tokenizer) CurrentNode() *Node {
31+
func (t *Tokenizer) GetCurrentNode() *Node {
3232
currentToken := t.z.Token()
3333
if strings.TrimSpace(currentToken.Data) == "" {
3434
return nil

0 commit comments

Comments
 (0)