Tag can be self-closed without space, e.g. <input/>
(Ref: W3C HTML5 4th Feb 2014, 8.2.4.10 Tag name state can directly switch to 8.2.4.43 Self-closing start tag state when seeing '/')
But att / atttrue doesn't seem to like that...
$tbs = new clsTinyButStrong();
$tbs->Source = '<input/> [onshow; att=input#autofocus; atttrue]';
$tbs->Show(); |
Result:
Notice: Undefined property: clsTbsLocator::$AttName in tbs_class.php on line 1492.
TinyButStrong Error in field [onshow...]: parameter 'magnet=#' cannot be processed because the corresponding attribute is not found.
Workaround:
Add a space before '/>' solves all friendly reminders.