ArthurHub / ArthurHub/HTML-Renderer
page-break-inside: avoid; - doesn't include <br/> tag
Open
bug
HTML
- Dominant language
- C#
- Stars
- 1.4k
- Forks
- 550
- Avg merge
- 14d 9h
- Merged PRs (30d)
- 1
Description
**page-break-inside: avoid** doesn't include `
` tag inside `
` element is used.
e.g. `
`Lorem ipsum dolor sit `
` amet, consectetur adipiscing elit`
I would be grateful for fix
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the reported HTML example with a
inside a
using page-break-inside: avoid. Start by tracing the page height calculation and how the renderer handles the
element within the paragraph. Done means the content respects the requested page break and the existing rendering behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100