Skip to content

How do we deal with tags within a selector? #152

Answered by jakopako
MarkJaroski asked this question in Q&A
Discussion options

You must be logged in to vote

yeah, I encountered the same issue a while ago so I added a param entire_subtree to the location of a field. For your case this should be something like this:

      - name: title
        type: text
        location:
          selector: h2
          entire_subtree: true

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by MarkJaroski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants