Forum Moderators: coopster
<meta name="description" content="...... feature a Sanitized® ....." />
<meta name="description" content="...... Flexible “wide-mouth” ........"/>
...HTMLEntities will replace said characters with their HTML-safe counterpart.
Aren't you in danger of messing up the text by simply striping these characters?
...HTMLEntities will replace said characters with their HTML-safe counterpart.
Only if you specifically do this. Is there any harm if you do?
© I am pretty sure ... Not any more than it would recognize “wide-mouth” ... Not to mention using valuable Meta space with a series of "HTML safe" encoding .. So there is no harm in filtering these just to create a Meta tag... Not from my standpoint. Also the original text in the database remains untouched, it's just used to generate this string. The use of commas and such in Meta are, in my opinion, moot anyway.
$plainDescription = iconv('UTF-8', 'ASCII//IGNORE', $description);