mirror of
https://github.com/kvazar-network/webapp.git
synced 2025-02-03 10:46:04 +00:00
fix nl2br filter
This commit is contained in:
parent
1ef478004c
commit
48339a1076
@ -92,9 +92,7 @@ class AppExtension extends AbstractExtension
|
||||
|
||||
case \Kvazar\Index\Manticore::TYPE_STRING:
|
||||
|
||||
return nl2br(
|
||||
$value
|
||||
);
|
||||
return (string) $value;
|
||||
|
||||
case \Kvazar\Index\Manticore::TYPE_BIN:
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
||||
{{ record.key | format_type(record.type.key) }}
|
||||
</div>
|
||||
<div class="mb-20 of-a">
|
||||
{{ record.value | format_type(record.type.value) }}
|
||||
{{ record.value | format_type(record.type.value) | nl2br }}
|
||||
</div>
|
||||
<div class="f-s-12">
|
||||
{{ record.time | format_date }} {{ 'in' | trans }} {{ record.block }}
|
||||
|
@ -28,7 +28,7 @@
|
||||
{{ record.key | format_type(record.type.key) }}
|
||||
</div>
|
||||
<div class="mb-20 of-a">
|
||||
{{ record.value | format_type(record.type.value) }}
|
||||
{{ record.value | format_type(record.type.value) | nl2br }}
|
||||
</div>
|
||||
<div class="f-s-12">
|
||||
{{ record.time | format_date }} {{ 'in' | trans }} {{ record.block }}
|
||||
|
@ -28,7 +28,7 @@
|
||||
{{ record.key | format_type(record.type.key) }}
|
||||
</div>
|
||||
<div class="mb-20 of-a">
|
||||
{{ record.value | format_type(record.type.value) }}
|
||||
{{ record.value | format_type(record.type.value) | nl2br }}
|
||||
</div>
|
||||
<div class="f-s-12">
|
||||
{{ record.time | format_date }} {{ 'in' | trans }} {{ record.block }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user