Corrupt output with nested spans
Open
- Dominant language
- PHP
- Stars
- 179
- Forks
- 30
- PR merge metrics
- No merged PRs in 30d
Description
I've noticed that dindent was modifying text in my string. After some testing I've found out that the simplest input on which it fails is:
``
It produces:
``
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the corruption with the nested-span input from the issue and compare the output with the original text. Trace the dindent processing entry point for this HTML, then add a regression test showing that the input is preserved rather than duplicated. Done means the failing example produces unchanged text.
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
- Mostly clear
- Newbie friendliness
- 55/100