-
-
Notifications
You must be signed in to change notification settings - Fork 917
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Function to get node own Text() #296
Comments
Hello, There's no such function, you can use something like what was mentioned in #287 to isolate the text part of the element. Hope this helps, |
ok thanks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
// Text gets the combined text contents of each element in the set of matched
// elements, including their descendants.
func (s *Selection) Text() string {
is there has func OwnText() just get node own text, not including their descendants.
The text was updated successfully, but these errors were encountered: