Inline elements inside inline elements should not break line
- Dominant language
- PHP
- Stars
- 179
- Forks
- 30
- PR merge metrics
- No merged PRs in 30d
Description
# Input
```
Lorem psum dolor it amet, consectetur adipiscing elit.
Lorem psum dolor it amet, consectetur adipiscing elit.
```
# Output: parent `span` is treated as a block
```
Lorem psum dolor it amet, consectetur adipiscing elit.
Lorem
psum
dolor it amet, consectetur adipiscing elit
```
# Expected output
```
Lorem psum dolor it amet, consectetur adipiscing elit.
Lorem psum dolor it amet, consectetur adipiscing elit
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Use the HTML under Input as the reproduction case and compare the current output with the Expected output. Trace the handling of nested inline elements, then confirm that both paragraphs retain their inline spans without unwanted line breaks and match the expected formatting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100