W3C home > Mailing lists > Public > www-amaya@w3.org > April to June 2001

Soft hyphen

From: Johs. Lind <johslind@post.tele.dk>
Date: Wed, 30 May 2001 11:01:13 +0200
Message-ID: <001f01c0e8e7$36a5d160$1453f9c3@siemens>
To: "Amaya" <www-amaya@w3.org>
The W3C recommendation for HTML 4.01 says:

"In HTML, there are two types of hyphens: the plain hyphen and the soft hyphen. The plain hyphen should be interpreted by a user agent as just another character. The soft hyphen tells the user agent where a line break can occur.

Those browsers that interpret soft hyphens must observe the following semantics: If a line is broken at a soft hyphen, a hyphen character must be displayed at the end of the first line. If a line is not broken at a soft hyphen, the user agent must not display a hyphen character. For operations such as searching and sorting, the soft hyphen should always be ignored".

Still the Amaya interprets the entity '&shy;' as a plain hyphen, and when saving, it even replaces it with that hyphen.

Isn't that a bug?

Yours, Johs. Lind

P.S. It would be good, if the Amaya could warn the user if it wants to make changes in the document, maybe in the way the Chase HTML-kit does it.
---

Johs. Lind,
SpurvevŠnget 41, 6710 Esbjerg V.
Telefon: 75.46.03.61.
Hjemmeside: http://home0.inet.tele.dk/johslind/
Received on Wednesday, 30 May 2001 05:01:53 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 April 2014 11:01:36 UTC