belongsTo(Author::class); } public function convertMarkdownToMarkup() { $this->body = Str::of($this->markdown_body)->markdown([ 'html_input' => 'strip', 'allow_unsafe_links' => false, ]); } }