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:
@@ -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 : "";
|
||||
|
||||
return $text;
|
||||
|
Reference in New Issue
Block a user