Support linebreaks in bookmark description
This commit is contained in:
parent
abcebef520
commit
0ddcb52f18
@ -11,7 +11,7 @@
|
||||
<p class="bookmark-href"><a href="{{ $bookmark->href }}">{{ $bookmark->href }}</a></p>
|
||||
@if (!empty($bookmark->description))
|
||||
<div class="bookmark-description">
|
||||
<p>{{ strip_tags($bookmark->description) }}</p>
|
||||
<p>{!! nl2br(htmlspecialchars($bookmark->description)) !!}</p>
|
||||
</div>
|
||||
@endif
|
||||
<p class="bookmark-date">
|
||||
|
Loading…
Reference in New Issue
Block a user