mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-02 08:21:09 -08:00
Parse line breaks in the detail view
This commit is contained in:
parent
9442736518
commit
80dda198c5
|
@ -281,7 +281,7 @@
|
|||
@if (($field->format=='URL') && ($asset->{$field->db_column_name()}!=''))
|
||||
<a href="{{ $asset->{$field->db_column_name()} }}" target="_new">{{ $asset->{$field->db_column_name()} }}</a>
|
||||
@else
|
||||
{{ $asset->{$field->db_column_name()} }}
|
||||
{!! nl2br(e($asset->{$field->db_column_name()})) !!}
|
||||
@endif
|
||||
@endif
|
||||
</td>
|
||||
|
|
Loading…
Reference in a new issue