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

Support for IDs in toGlyph()

This commit is contained in:
Cameron 2016-02-11 12:47:28 -08:00
parent 84ed4705a1
commit 3cfeb987af

View File

@ -3310,8 +3310,10 @@ class e_parser
$size = '';
}
$idAtt = (!empty($parm['id'])) ? "id='".$parm['id']."' " : '';
$text = "<".$tag." class='".$prefix.$id.$size.$spin.$rotate."'></".$tag.">" ;
$text = "<".$tag." {$idAtt}class='".$prefix.$id.$size.$spin.$rotate."'></".$tag.">" ;
$text .= ($space !== false) ? $space : "";
return $text;