mirror of
https://github.com/flarum/framework.git
synced 2025-02-20 22:00:24 +08:00
Don't sanitize values in plain-text emails
This commit is contained in:
parent
17e181bb0d
commit
101af171b1
@ -1,9 +1,9 @@
|
||||
Hey {{ $user->username }}!
|
||||
Hey {!! $user->username !!}!
|
||||
|
||||
{{ $blueprint->reply->user->username }} replied to your post (#{{ $blueprint->post->number }}) in {{ $blueprint->post->discussion->title }}.
|
||||
{!! $blueprint->reply->user->username !!} replied to your post (#{!! $blueprint->post->number !!}) in {!! $blueprint->post->discussion->title !!}.
|
||||
|
||||
{{ app()->url() }}/d/{{ $blueprint->reply->discussion_id }}/{{ $blueprint->reply->number }}
|
||||
{!! app()->url() !!}/d/{!! $blueprint->reply->discussion_id !!}/{!! $blueprint->reply->number !!}
|
||||
|
||||
---
|
||||
|
||||
{{ strip_tags($blueprint->reply->contentHtml) }}
|
||||
{!! strip_tags($blueprint->reply->contentHtml) !!}
|
||||
|
@ -1,9 +1,9 @@
|
||||
Hey {{ $user->username }}!
|
||||
Hey {!! $user->username !!}!
|
||||
|
||||
{{ $blueprint->post->user->username }} mentioned you in a post in {{ $blueprint->post->discussion->title }}.
|
||||
{!! $blueprint->post->user->username !!} mentioned you in a post in {!! $blueprint->post->discussion->title !!}.
|
||||
|
||||
{{ app()->url() }}/d/{{ $blueprint->post->discussion_id }}/{{ $blueprint->post->number }}
|
||||
{!! app()->url() !!}/d/{!! $blueprint->post->discussion_id !!}/{!! $blueprint->post->number !!}
|
||||
|
||||
---
|
||||
|
||||
{{ strip_tags($blueprint->post->contentHtml) }}
|
||||
{!! strip_tags($blueprint->post->contentHtml) !!}
|
||||
|
Loading…
x
Reference in New Issue
Block a user