Skip to content

Commit 9687736

Browse files
committed
wip
1 parent 7b531a3 commit 9687736

File tree

3 files changed

+56
-56
lines changed

3 files changed

+56
-56
lines changed

app/Markdown/MarkdownServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ public function register(): void
4343
$environment->addExtension(new CommonMarkCoreExtension);
4444
$environment->addExtension(new GithubFlavoredMarkdownExtension);
4545
$environment->addExtension(new MentionExtension);
46-
$environment->addExtension(new EmbedExtension);
4746
$environment->addExtension(new ExternalLinkExtension);
47+
$environment->addExtension(new EmbedExtension);
4848

4949
return new LeagueConverter(new MarkdownConverter($environment));
5050
});

app/Models/Reply.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public function body(): string
7676

7777
public function excerpt(int $limit = 100): string
7878
{
79-
return Str::limit(strip_tags(md_to_html($this->body(), ['nofollow' => false])), $limit);
79+
return Str::limit(strip_tags(md_to_html($this->body())), $limit);
8080
}
8181

8282
public function to(ReplyAble $replyAble)

composer.lock

Lines changed: 54 additions & 54 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)