click', (string) Html::el('a lang=cs href="#" title="" selected')->setText('click')); Assert::same('click', (string) Html::el('a lang=hello world href="hello world" title="hello \'world"')->setText('click')); Assert::same('click', (string) Html::el('a lang=\'hello" world\' href="hello "world" title=0')->setText('click')); Assert::type(Html::class, Html::fromHtml('xxx')); Assert::same('hello"', (string) Html::fromHtml('hello"')); Assert::type(Html::class, Html::fromText('xxx')); Assert::same('<a href="#">hello&quot;</a>', (string) Html::fromText('hello"'));