Bug 33798

Summary: Soft hyphens wrongly rendered
Product: [Applications] konqueror Reporter: ghk
Component: khtmlAssignee: Konqueror Developers <konq-bugs>
Status: CLOSED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description ghk 2001-10-17 10:01:12 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           khtml
Version:           KDE 2.2.1 
Severity:          normal
Installed from:    SuSE RPMs
Compiler:          Not Specified
OS:                Linux
OS/Compiler notes: Not Specified

The HTML entity &shy; (&#173;) is used to suggest to the browser where a (long) word should be broken if the text wraps to another line.

Konqueror always renders &shy; as a hyphen even when the word doesn't wrap. In addition Konqueror never wraps at soft hyphens only at word boundaries.

The preferred solution would be for Konqueror to fully understand &shy; and render it invisible when the word doesn't wrap and as a hyphen when the word does wrap.

A simpler solution would be to never wrap at &shy; (like today) but always render the soft hyphen as invisible. Always rendering &shy; as a hyphen is just plain wrong always hiding it is a bit better.

Regards
 Gaute Hvoslef Kvalnes

(Submitted via bugs.kde.org)
Comment 1 Daniel Naber 2002-03-23 23:38:44 UTC
Thank you for your bug report.
This bug/feature request has already been reported and this report will
be marked as a duplicate.


--=20
http://www.danielnaber.de