Пример #1
0
 public function testValidStripNestedTags()
 {
     $s = new Stringizer("<html><head><title>title</title></head><body>Hello <b><span class='fake-class'>World</span></b> こんにちは世界</body></html>");
     $this->assertEquals("titleHello World こんにちは世界", $s->stripTags());
 }