HTML Entities
G'day,
Trying to handle HTML entities properly is quite problematic.
Take a product name like Light & Motion Sola 1/2" Lockline Arm. If it's entered into Zen Cart like that the result is a heap of page HTML Validation errors.
If the & and " are entered as HTML entities the HTML validation errors go away.
But people then search for Light & Motion or 1/2" within Zen Cart and they are not found. To be found they would have had to replace & or " with the right HTML entity used by the person doing the data entry. And given that there can be a few different valid HTML entities used to generate & or ", that's unlikely to happen.
This applies equally to other fields like product description, product model and manufacturer name values.
So a better solution would be for Zen Cart to recognise that there could be characters that need to be turned into HTML entities in the various values, and then output theses values as HTML entities.
Then this major disconnect between usability and solving validation issues could be solved.
Any chance this could be done sometime soon?
Or am I missing something and there is a way to overcome this problem already? Because right now the solution eludes me.
Best regards, Lloyd Borrett.
Zen Cart 1.5.5e, PHP 5.3.29 MySQL 5.5.42
Bookmarks