1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 21:57: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

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