ArthurHub / ArthurHub/HTML-Renderer
text-align: justify adds space after hyphen in hyphen separated words
- Dominant language
- C#
- Stars
- 1.4k
- Forks
- 550
- Avg merge
- 14d 9h
- Merged PRs (30d)
- 1
Description
When using text-align: justify there is a space is after the hyphen in hyphen separated words. This is only a visual artifact as there is no space there (can be confirmed by copying and pasting the text into another application).
For example, non-public business looks like non- public business.
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue with text-align: justify and the text “non-public business,” then compare the rendered result with copied text. Trace the HTML rendering and text-layout entry points to find where spacing around hyphen-separated words is calculated. Done means the visual gap after the hyphen is gone while justified text still renders correctly.
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
- 38/100