Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
entities once more
#14
mvlcek Wrote:I doubt that this is the solution. It would also decode <, >, & in the text, which it must not do!
I think it is... Got it on my sites, it decode only entities.
I made it like this (theme_functions.php line ~290) :
Code:
echo '<meta name="description" content="'.html_entity_decode(encode_quotes($description), ENT_QUOTES, "UTF-8").'" />'."\n";

Now I got no problem with entities.
Reply


Messages In This Thread
entities once more - by grs84pl - 2011-09-28, 03:20:33
RE: entities once more - by shawn_a - 2013-07-30, 23:27:27
entities once more - by Connie - 2011-09-28, 03:24:35
entities once more - by grs84pl - 2011-09-29, 18:22:52
entities once more - by Connie - 2011-09-29, 18:26:04
entities once more - by grs84pl - 2011-09-29, 18:30:17
entities once more - by hameau - 2011-10-14, 18:15:28
entities once more - by grs84pl - 2011-10-14, 18:37:21
entities once more - by hameau - 2011-10-14, 20:34:48
entities once more - by Ampersand - 2011-10-20, 06:19:39
entities once more - by hameau - 2011-10-20, 19:07:01
entities once more - by grs84pl - 2011-10-20, 22:07:08
entities once more - by mvlcek - 2011-10-20, 22:41:16
entities once more - by Ampersand - 2011-10-21, 05:33:37
entities once more - by grs84pl - 2011-10-25, 06:11:35



Users browsing this thread: 1 Guest(s)