/**
  * {@inheritdoc}
  */
 protected function isSafe(Attribute $attribute)
 {
     return $attribute->isSafeAsURL();
 }
 /**
  * @testdox markAsSafeInJS() unconditionally marks the attribute as safe in context
  */
 public function testMarkAsSafeInJS()
 {
     $attr = new Attribute();
     $attr->markAsSafeInJS();
     $this->assertTrue($attr->isSafeInJS());
 }
 /**
  * {@inheritdoc}
  */
 protected function isSafe(Attribute $attribute)
 {
     return $attribute->isSafeInJS();
 }