1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-20 04:32:01 +02:00

Html5 validation fix.

This commit is contained in:
Cameron 2014-01-23 17:24:02 -08:00
parent 07950a1af2
commit 8eb9d13dd7

View File

@ -116,7 +116,9 @@ class social_shortcodes extends e_shortcode
foreach($providers as $val)
{
$shareUrl = $tp->lanVars($val['url'],$data);
$pUrl = str_replace("&","&",$val['url']);
$shareUrl = $tp->lanVars($pUrl,$data);
$opt[] = "<a class='e-tip btn ".$butSize." btn-default social-share' target='_blank' title='".$val["title"]."' href='".$shareUrl."'>".$tp->toIcon($val["icon"])."</a>";
}