Closed yikeshu0611 closed 1 year ago
(html <- span("bar")) tagQ <- tagQuery(html) tagQ$find('span')
Result:
`$allTags()`: <span>bar</span> `$selectedTags()`: (Empty selection)
html is only one tag of span. So if I use find() to locate span tag, the result should be it self.
Thanks. We're aware of the confusion, and will likely fix this behavior. Closing here since this is essentially a duplicate of https://github.com/rstudio/htmltools/issues/334
Result:
html is only one tag of span. So if I use find() to locate span tag, the result should be it self.