Skip to content

Commit

Permalink
Merge pull request #13805 from gitgrimbo/more_line_based_markdown
Browse files Browse the repository at this point in the history
Use parseEscapedMarkedownInline for more views
  • Loading branch information
snipe authored Feb 5, 2024
2 parents 58a9c27 + d556f0d commit 8316db9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/views/components/view.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ class="table table-striped snipe-table"
</strong>
</div>
<div class="col-md-12">
{!! nl2br(e($component->notes)) !!}
{!! nl2br(Helper::parseEscapedMarkedownInline($component->notes)) !!}
</div>
</div>
@endif
Expand Down
2 changes: 1 addition & 1 deletion resources/views/models/view.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ class="table table-striped snipe-table"
@if ($model->notes)
<li>
{{ trans('general.notes') }}:
{{ $model->notes }}
{!! nl2br(Helper::parseEscapedMarkedownInline($model->notes)) !!}
</li>
@endif

Expand Down

0 comments on commit 8316db9

Please sign in to comment.