Skip to content

Commit

Permalink
詳細はstriptagsするように修正
Browse files Browse the repository at this point in the history
  • Loading branch information
s-nakajima committed Aug 30, 2016
1 parent ebdc28f commit 301cac8
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Model/Behavior/TopicsBehavior.php
Expand Up @@ -525,11 +525,7 @@ protected function _parseContents(Model $model) {
$result .= chr(10);
}

if (Hash::get($this->settings[$model->alias], 'summaryWysiwyg')) {
return strip_tags($result);
} else {
return $result;
}
return strip_tags($result);
}

/**
Expand Down

0 comments on commit 301cac8

Please sign in to comment.