Closed
Bug 274681
Opened 20 years ago
Closed 20 years ago
Problem render   if it is followed by a single quote character
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: davidf63, Assigned: bugzilla)
Details
I am using OSCommerce PHP online shop tool.
In a particular Add-on module I find the following declaration
define('MODULE_PAYMENT_AUS_BANK_TEXT_DESCRIPTION', '<BR>Please use the
following details to transfer your total order value:<br><br>Account No.:
   ' . MODULE_PAYMENT_AUS_BANK_ACCNUM . '<BR>BSB Number:
      ' . MODULE_PAYMENT_AUS_BANK_BSB . '<BR>Account
Name: ' . MODULE_PAYMENT_AUS_BANK_ACCNAM . '<BR>Bank Name:     
' . MODULE_PAYMENT_AUS_BANK_BANKNAM . '<br><br>Your order will not ship until we
receive payment in the above account.');
Which is later used to render details of payment method on the web page such:
Please use the following details to transfer your total order value:
Account No.:  99999
BSB Number:  999-999
Account Name: Soaps Plus
Bank Name: Blue Mountains Credit union
Your order will not ship until we receive payment in the above account.
Notice that the BANK NAME field has a space after the   tag in the definition.
This renders correctly - whereas the account no and BSB number fields have the
single quote immediatly following the  . as you can see this does not.
As it only seems to appear incorrect on FireFox, I suggest this is a FF bug.
As it effects the Professional look of an Online shop it is worth a Major severity.
I look forward to your response.
Comment 1•20 years ago
|
||
http://www.w3.org/TR/html401/charset.html#h-5.3 Note. In SGML, it is possible to eliminate the final ";" after a character reference in some cases (e.g., at a line break or immediately before a tag). In other circumstances it may not be eliminated (e.g., in the middle of a word). We strongly suggest using the ";" in all cases to avoid problems with user agents that require this character to be present. So, fix the entities.  ' is the case of 'in the middle of a word'. You need ' for it to parse correctly.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•