public function setContentAttribute($text)
 {
     if ($this->attributes['allows_html'] == 0) {
         $this->attributes['content'] = strip_tags($text);
         return;
     }
     $this->attributes['content'] = AttributeStripper::strip('style', $text);
 }
 public function setBodyAttribute($body)
 {
     $this->attributes['body'] = AttributeStripper::strip('style', $body);
 }
 /**
  * @test
  */
 public function it_does_nothing_to_plain_text()
 {
     $raw = 'This is just plain text, no html anywhere';
     $expected = 'This is just plain text, no html anywhere';
     $this->assertEquals($expected, AttributeStripper::strip('style', $raw));
 }