/**
  * @test
  */
 public function CanNormalizeHTMLTags()
 {
     $string = "Màthìéû Dùffèlêr<a href=\"test\">test</a>";
     $this->assertEquals("Mathieu Duffeler a href=\"test\" test /a ", Normalizer::normalize($string));
 }
コード例 #2
0
 public function setBillingContactLastname($lastname)
 {
     $this->parameters['billingContact.lastname'] = str_replace(array("'", '"'), '', Normalizer::normalize($lastname));
     // replace quotes
 }