mirror of
https://github.com/flarum/core.git
synced 2025-08-09 09:57:06 +02:00
Don't sanitize values in plain-text emails
This commit is contained in:
@@ -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) !!}
|
||||
|
Reference in New Issue
Block a user