Skip to content

Unexpected behaviour for XPath s modifier #72

@alexcastano

Description

@alexcastano

Version 0.6.6

Using the README example:

iex(3)> result = doc |> xpath(~x"//matchup/name/text()")
'Match One'
iex(4)> result = doc |> xpath(~x"//matchup/name/text()"s)
"Match OneMatch TwoMatch Three"

For the s modifier, I would expect the result: "Match One"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions