Skip to content

Is getting scoped tag name possible ?  #389

@mohit-singh-pepper

Description

@mohit-singh-pepper
<p class='whatever'>Hello !</p>

For above html, something like following.

x('.whatever', [
  {
     name: '@tag',
     text: ''
  }
])

Should return

[
  {
    "name": "p",
    "text": "Hello !"
  }
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions