Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Per suggestion of @martindholmes, instead of trying to select the correct descendant text node(s), just examine the string value of the entire eg element as a whole. The string() function call is not technically necessary (because matches() wants a string there, it would happen automagically), but its use makes what we are doing explicit and obvious.
- Loading branch information