Skip to content

Commit

Permalink
Use the page's Markdown HtmlString instead of the $markdown property
Browse files Browse the repository at this point in the history
I think this makes it more clear where the data is coming from. See 20dabfa
  • Loading branch information
caendesilva committed Nov 7, 2022
1 parent 6d74272 commit d3a3754
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</header>
@includeWhen(isset($page->image), 'hyde::components.post.image')
<div aria-label="Article body" itemprop="articleBody">
{!! $markdown !!}
{{ $page->markdown->toHtml() }}
</div>
<span class="sr-only">End of article</span>
</article>

0 comments on commit d3a3754

Please sign in to comment.