Skip to content

Commit 6e7215a

Browse files
committed
✨ rajout de la generation de lien sur les textes
1 parent 1625672 commit 6e7215a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/Http/Livewire/MarkdownX.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public function updatedContent()
8585
*/
8686
public function updateContentPreview()
8787
{
88-
$this->contentPreview = MarkdownHelper::parseLiquidTags(Markdown::convertToHtml($this->content));
88+
$this->contentPreview = replace_links(MarkdownHelper::parseLiquidTags(Markdown::convertToHtml($this->content)));
8989
}
9090

9191
/*
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@props(['content'])
22

33
<div {{ $attributes }}>
4-
{!! \App\Markdown\MarkdownHelper::parseLiquidTags(replace_links(Markdown::convertToHtml($content))) !!}
4+
{!! replace_links(\App\Markdown\MarkdownHelper::parseLiquidTags(Markdown::convertToHtml($content))) !!}
55
</div>

0 commit comments

Comments
 (0)