From 8455b5a64ac2f17c30af788b6ba4b44ac0b58bb4 Mon Sep 17 00:00:00 2001 From: Bernd Bestel Date: Thu, 6 Jan 2022 13:38:00 +0100 Subject: [PATCH] Allow HTML tags for the product description column on the stock overview page (fixes #1735) --- changelog/66_UNRELEASED_xxxx-xx-xx.md | 1 + views/stockoverview.blade.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/changelog/66_UNRELEASED_xxxx-xx-xx.md b/changelog/66_UNRELEASED_xxxx-xx-xx.md index bbd323e7..991af20a 100644 --- a/changelog/66_UNRELEASED_xxxx-xx-xx.md +++ b/changelog/66_UNRELEASED_xxxx-xx-xx.md @@ -2,4 +2,5 @@ - Optimized relative time display (also fixed a phrasing problem for some languages, e.g. Hungarian) (thanks @Tallyrald) - When using LDAP authentication, the configured `LDAP_UID_ATTR` is now used to compare if the user already exists instead of the username entered on the login page (that prevents creating multiple users if you entere the username in different notations) (thanks @FloSet) - Fixed that stock entry labels on purchase were printed, even when "No label" was selected (was only a problem when running label printer WebHooks server side) +- Fixed that formatted (HTML) text for the (hidden by default) product description column on the stock overview page was not correctly displayed - Fixed that numeric and date-time sorting of table columns on the stock entries page did not work correctly (thanks @MasterofJOKers) diff --git a/views/stockoverview.blade.php b/views/stockoverview.blade.php index 1bfd9ddb..5e89a8f5 100755 --- a/views/stockoverview.blade.php +++ b/views/stockoverview.blade.php @@ -400,7 +400,7 @@ {{ $currentStockEntry->min_stock_amount }} - {{ $currentStockEntry->product_description }} + {!! $currentStockEntry->product_description !!}