/** * @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)); }
public function setBillingContactLastname($lastname) { $this->parameters['billingContact.lastname'] = str_replace(array("'", '"'), '', Normalizer::normalize($lastname)); // replace quotes }