Used inline markdown in views

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-07-12 16:57:04 +01:00
parent b5695c9ab7
commit a569a99e61
5 changed files with 6 additions and 6 deletions

View file

@ -93,7 +93,7 @@ use Carbon\Carbon;
<div class="row"> <div class="row">
<div class="col-md-12 col-sm-12" style="padding-bottom: 10px; margin-left: 15px; word-wrap: break-word;"> <div class="col-md-12 col-sm-12" style="padding-bottom: 10px; margin-left: 15px; word-wrap: break-word;">
<strong>{{ trans('admin/asset_maintenances/form.notes') }}: </strong> <strong>{{ trans('admin/asset_maintenances/form.notes') }}: </strong>
{{ $assetMaintenance->notes }} {!! nl2br(Helper::parseEscapedMarkedownInline($assetMaintenance->notes)) !!}
</div> </div>
</div> </div>
<!-- 5th Row End --> <!-- 5th Row End -->

View file

@ -155,7 +155,7 @@
<td> <td>
@if ($file->note) @if ($file->note)
{{ $file->note }} {!! nl2br(Helper::parseEscapedMarkedownInline($file->note)) !!}
@endif @endif
</td> </td>
<td> <td>
@ -275,7 +275,7 @@
</strong> </strong>
</div> </div>
<div class="col-md-12"> <div class="col-md-12">
{!! nl2br(e($consumable->notes)) !!} {!! nl2br(Helper::parseEscapedMarkedownInline($consumable->notes)) !!}
</div> </div>
</div> </div>
@endif @endif

View file

@ -730,7 +730,7 @@
</strong> </strong>
</div> </div>
<div class="col-md-6"> <div class="col-md-6">
{!! nl2br(e($asset->notes)) !!} {!! nl2br(Helper::parseEscapedMarkedownInline($asset->notes)) !!}
</div> </div>
</div> </div>

View file

@ -338,7 +338,7 @@
@endif @endif
@if ($supplier->notes!='') @if ($supplier->notes!='')
<li><i class="fa fa-comment"></i> {{ $supplier->notes }}</li> <li><i class="fa fa-comment"></i> {!! nl2br(Helper::parseEscapedMarkedownInline($supplier->notes)) !!}</li>
@endif @endif
</ul> </ul>

View file

@ -633,7 +633,7 @@
{{ trans('admin/users/table.notes') }} {{ trans('admin/users/table.notes') }}
</div> </div>
<div class="col-md-9"> <div class="col-md-9">
{{ $user->notes }} {!! nl2br(Helper::parseEscapedMarkedownInline($user->notes)) !!}
</div> </div>
</div> </div>