Soft hyphens STILL wrong in Firefox 7

The point of Soft Hyphens (­) in HTML code is to allow long numbers to be continued on one or more lines when the screen-width is less than the string length.

For many years Firefox has not allowed Copy/Paste to omit the actual hyphens in the resulting string on the Clipboard. Opera and IE work as expected (no actual hyphens).

Here is a small HTML file to demonstrate the problem. Copy and Paste this code into a text file called, say, hyphen.htm and then open it with Firefox. See what happens.

<!DOCTYPE html>
<title>Testing Soft Hyphens</title>
<meta http-equiv=”Content-Type” content=”text/html; charset=windows-1252″ />
h1 {text-align: center}
p {padding-left: 4em; padding-right: 4em}
blockquote {padding-left: 4em; font-weight: bold}


<h1>Testing Soft Hyphens</h1>

Select and copy this number to the clipboard:


You should get this:


In Firefox we get this (showing the hyphens):


If you paste it into Word or Wordpad, you appear to get
123456789012345678901234567890, but try saving it as plain text
(or rtf and actually look at the file with a text viewer) you will
see the dreaded hyphens. They are meant to be hidden.

<b><i>For how many years now, has Firefox got it wrong?</i></b>

<hr />


2 thoughts on “Soft hyphens STILL wrong in Firefox 7

    1. I’d say it MUST have been noticed by the millions of Firefox fans over the last 10 years or so, but not fixed because they will say it’s a feature not a bug.

      OR unimportant to the “average” user.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s