Text node as a root ignores the following element
Open
bug
- Dominant language
- JavaScript
- Stars
- 688
- Forks
- 48
- PR merge metrics
- No merged PRs in 30d
Description
This ignores `` and returns `"."`, whereas `` html`..` `` correctly returns a `DocumentFragment`.
Contributor guide
No contributing guide indexed for this repository
Research direction
No source file or test is named. Reproduce the two html template examples, then trace the template-tag handling for a text node followed by an element; done means the first example preserves the anchor in a DocumentFragment while the existing trailing-text case continues to work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100