uf132 code geeft alleen tekst in ajax door
Code (php)
1
2
3
4
5
6
7
8
9
10
11
12
2
3
4
5
6
7
8
9
10
11
12
$arr = array("latitude" => "51.514792",
"longitude" => "-0.235745",
"title" => "Demo Professional",
'name' => 'Demo Professional',
"email" => "[email protected]",
"phone_numer" => "345345345",
"group" => "ubert",
"icon" => "http://localhost/docdirect/wp-content/themes/docdirect/images/02.png",
"html" => array("content" => "<div class=\"tg-map-marker\"><figure class=\"tg-docimg\"><a class=\"userlink\" href=\"http://localhost/docdirect/en_US/docdirecttor/professional/\"><img src=\"http://localhost/docdirect/wp-content/themes/docdirect/images/img-17-270x270.jpg\" alt=\"User\"><span class=\"tg-show\"><em class=\"icon-add\"></em></span></a><a data-view_type=\"v1\" class=\"tg-like add-to-fav\" data-wl_id=\"340\" href=\"javascript:;\"><i class=\"fa fa-heart\"></i></a>\t\t\t\t\t\t<span class=\"user-verified\">\r\n\t\t\t\t\t\t\t<svg id=\"Icon\" xmlns=\"http://www.w3.org/2000/svg\" width=\"74.875\" height=\"21\" viewBox=\"0 0 74.875 21\"> <defs>\r\n\t\t\t\t\t\t\t<style>.cls-1{fill:#10a64a}.cls-2{font-size:16px;text-anchor:middle;font-family:FontAwesome;text-transform:uppercase}.cls-2,.cls-3{fill:#fff}.cls-3{font-size:14.437px;font-family:Montserrat}</style></defs> \r\n\t\t\t\t\t\t\t<rect id=\"BG\" class=\"cls-1\" width=\"74.875\" height=\"21\" rx=\"3\" ry=\"3\"/> <text id=\"_\" data-name=\"uf132\" class=\"cls-2\" transform=\"translate(14.829 14.99) scale(0.737 0.762)\">\uf132</text> \r\n\t\t\t\t\t\t\t<text id=\"Verified\" class=\"cls-3\" transform=\"translate(22.787 15.191) scale(0.737 0.762)\">Verified</text> </svg>\r\n\t\t\r\n\t\t\t\t\t\t</span>\r\n\t\t\t\t\t</figure><div class=\"tg-mapmarker-content\"><div class=\"tg-heading-border tg-small\"><h3><a class=\"userlink\" href=\"http://localhost/docdirect/en_US/docdirecttor/professional\">Demo Professional</a></h3></div><ul class=\"tg-info\"><li> <i class=\"fa fa-envelope\"></i> <em><a href=\"mailto:[email protected]?Subject=hello\" target=\"_top\">[email protected]</a></em> </li><li> <i class=\"fa fa-phone\"></i> <em><a href=\"javascript:;\">64 235 856843</a></em> </li></ul></div></div>") );
echo json_encode($arr, JSON_UNESCAPED_UNICODE);
"longitude" => "-0.235745",
"title" => "Demo Professional",
'name' => 'Demo Professional',
"email" => "[email protected]",
"phone_numer" => "345345345",
"group" => "ubert",
"icon" => "http://localhost/docdirect/wp-content/themes/docdirect/images/02.png",
"html" => array("content" => "<div class=\"tg-map-marker\"><figure class=\"tg-docimg\"><a class=\"userlink\" href=\"http://localhost/docdirect/en_US/docdirecttor/professional/\"><img src=\"http://localhost/docdirect/wp-content/themes/docdirect/images/img-17-270x270.jpg\" alt=\"User\"><span class=\"tg-show\"><em class=\"icon-add\"></em></span></a><a data-view_type=\"v1\" class=\"tg-like add-to-fav\" data-wl_id=\"340\" href=\"javascript:;\"><i class=\"fa fa-heart\"></i></a>\t\t\t\t\t\t<span class=\"user-verified\">\r\n\t\t\t\t\t\t\t<svg id=\"Icon\" xmlns=\"http://www.w3.org/2000/svg\" width=\"74.875\" height=\"21\" viewBox=\"0 0 74.875 21\"> <defs>\r\n\t\t\t\t\t\t\t<style>.cls-1{fill:#10a64a}.cls-2{font-size:16px;text-anchor:middle;font-family:FontAwesome;text-transform:uppercase}.cls-2,.cls-3{fill:#fff}.cls-3{font-size:14.437px;font-family:Montserrat}</style></defs> \r\n\t\t\t\t\t\t\t<rect id=\"BG\" class=\"cls-1\" width=\"74.875\" height=\"21\" rx=\"3\" ry=\"3\"/> <text id=\"_\" data-name=\"uf132\" class=\"cls-2\" transform=\"translate(14.829 14.99) scale(0.737 0.762)\">\uf132</text> \r\n\t\t\t\t\t\t\t<text id=\"Verified\" class=\"cls-3\" transform=\"translate(22.787 15.191) scale(0.737 0.762)\">Verified</text> </svg>\r\n\t\t\r\n\t\t\t\t\t\t</span>\r\n\t\t\t\t\t</figure><div class=\"tg-mapmarker-content\"><div class=\"tg-heading-border tg-small\"><h3><a class=\"userlink\" href=\"http://localhost/docdirect/en_US/docdirecttor/professional\">Demo Professional</a></h3></div><ul class=\"tg-info\"><li> <i class=\"fa fa-envelope\"></i> <em><a href=\"mailto:[email protected]?Subject=hello\" target=\"_top\">[email protected]</a></em> </li><li> <i class=\"fa fa-phone\"></i> <em><a href=\"javascript:;\">64 235 856843</a></em> </li></ul></div></div>") );
echo json_encode($arr, JSON_UNESCAPED_UNICODE);
Als ik geen ajax gebruik, dan krijg ik het symbool goed door van deze code: "uf132"
Maar metajax, krijg ik de tekst door. Hoe kan ik dit verhelpen?
Er zijn nog geen reacties op dit bericht.