Warning: a space character should precede the '/' character.
Posted: Mon Dec 05, 2011 1:25 pm
Hi!
I recently validated a page from my site using CSE HTML Validator and found many warnings saying:
"For better backward compatibility with HTML, a space character should precede the '/' character."
When I investigated, I found that warnings were coming from a (WP) plugin written by a famous coder.
When I tuned the code (adding a space where needed) and re-validated, warnings were all gone
As I thought it could be helpful to tell the author what I did, I sent the message (excerpt) below:
"....Just to tell you that I did a very small tuning...
I added a blank (space) before the last backslash of Meta Description like here: ( $metadesc ) ) )."' />\n";
Nothing important at all but ....I thought it might help if I let you know even if it is such a small detail...."
Then a day later, I got the following answer from the developer:
"Sorry but that's just nonsense. There's nothing in the HTML spec that requires that space. Cheers,"
Do you have any opinion about that?
Would anyone have a link to W3.org or other entity talking about that?
THANK YOU for your feedback and advises
Roger
I recently validated a page from my site using CSE HTML Validator and found many warnings saying:
"For better backward compatibility with HTML, a space character should precede the '/' character."
When I investigated, I found that warnings were coming from a (WP) plugin written by a famous coder.
When I tuned the code (adding a space where needed) and re-validated, warnings were all gone
As I thought it could be helpful to tell the author what I did, I sent the message (excerpt) below:
"....Just to tell you that I did a very small tuning...
I added a blank (space) before the last backslash of Meta Description like here: ( $metadesc ) ) )."' />\n";
Nothing important at all but ....I thought it might help if I let you know even if it is such a small detail...."
Then a day later, I got the following answer from the developer:
"Sorry but that's just nonsense. There's nothing in the HTML spec that requires that space. Cheers,"
Do you have any opinion about that?
Would anyone have a link to W3.org or other entity talking about that?
THANK YOU for your feedback and advises
Roger