Hi,
there are a few html entities like " and . Please note that in FAQ 7.2 we discourage the use of those.
Do we absolutely need the ones that are currently in english-iso?
Marc
<quote who="Marc Delisle">
Do we absolutely need the ones that are currently in english-iso?
's are definitely necessary to preserve formatting issues. I checked through the strings and it seems as if the extra blanks are intentional. They would get removed because of standard HTML-rendering issues if we replaced them with " " characters.
The usage of " in the single case for $strJustDeleteDescr is necessary, because the message appears inside a title="..." attribute. If we converted that to " the title-attribute would appear to be closed and half of the string would be missing.
In short: Keep 'em. :-)
Hi Marc & list,
-----Original Message----- From: Marc Delisle
there are a few html entities like " and . Please note that in FAQ 7.2 we discourage the use of those.
Do we absolutely need the ones that are currently in english-iso?
We do, indeed. According to the XHTML specification, we M-U-S-T use entities for some specific characters:
" for " & for & < for < > for >
The entity (nbsp = non-breaking space) avoids line feeds at ist position, so it should only be used for this intention.
By the way, FAQ 7.2 says:
"With html entities, the text on buttons would not display correctly."
This is nonsense because the botton labels are stored in attributes and entities are allowed there. The problem with the entities are the JS messages that are defined inside a <script> tag. There, HTML entities would not get parsed.
Regards,
Alexander M. Turek alex@bugfixes.info
+-----------------------------+ | The phpMyAdmin Project | | http://www.phpmyadmin.net | | rabus@users.sourceforge.net | +-----------------------------+ | [bugfixes.info] | | http://www.bugfixes.info | | rabus@bugfixes.info | +-----------------------------+
Rabus wrote:
Hi Marc & list,
-----Original Message----- From: Marc Delisle
there are a few html entities like " and . Please note that in FAQ 7.2 we discourage the use of those.
Do we absolutely need the ones that are currently in english-iso?
We do, indeed. According to the XHTML specification, we M-U-S-T use entities for some specific characters:
" for " & for & < for < > for >
The entity (nbsp = non-breaking space) avoids line feeds at ist position, so it should only be used for this intention.
By the way, FAQ 7.2 says:
"With html entities, the text on buttons would not display correctly."
This is nonsense because the botton labels are stored in attributes and entities are allowed there. The problem with the entities are the JS messages that are defined inside a <script> tag. There, HTML entities would not get parsed.
Ok I will clarify in the doc.
Marc