RESULT box on /new used word-break: break-all (inline style on #result), splitting words mid-word ("firs"/"t.").
Changed to word-break: normal + overflow-wrap: break-word: words wrap whole; very long unbreakable tokens (long URLs/hashes) still break instead of overflowing.
Empty-paste result box: "Write or paste something first." renders with no word split; computed style word-break=normal, overflow-wrap=break-word; per-word span check found no word spanning lines (splitWords=[]).
190-char unbreakable URL in the result box wraps across 4 lines within the box, no horizontal overflow (scrollWidth == clientWidth).
Fixes #135
- RESULT box on /new used word-break: break-all (inline style on #result), splitting words mid-word ("firs"/"t.").
- Changed to word-break: normal + overflow-wrap: break-word: words wrap whole; very long unbreakable tokens (long URLs/hashes) still break instead of overflowing.
- codebody wrap behavior untouched (#130 wrap toggle unaffected).
- go vet + go test pass.
- Rendered proof (headless chromium, 420px viewport):
- Empty-paste result box: "Write or paste something first." renders with no word split; computed style word-break=normal, overflow-wrap=break-word; per-word span check found no word spanning lines (splitWords=[]).
- 190-char unbreakable URL in the result box wraps across 4 lines within the box, no horizontal overflow (scrollWidth == clientWidth).
- Screenshots: /tmp/pal135_shot_result.png, /tmp/pal135_shot_long.png
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Fixes #135