From 6d13a3a7e9e2f67aeec1ea3b372d7366ac0d1464 Mon Sep 17 00:00:00 2001 From: Harry Date: Sun, 28 Aug 2022 22:13:30 +0100 Subject: [PATCH 1/3] Ensure html and list components render the HTML as expected --- resources/views/list.blade.php | 4 ++-- resources/views/raw.blade.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/views/list.blade.php b/resources/views/list.blade.php index 23222dd..a0adfae 100644 --- a/resources/views/list.blade.php +++ b/resources/views/list.blade.php @@ -1,9 +1,9 @@
- {{ ($style == 'unordered') ? '' : '' !!}
diff --git a/resources/views/raw.blade.php b/resources/views/raw.blade.php index d6adaca..46b3207 100644 --- a/resources/views/raw.blade.php +++ b/resources/views/raw.blade.php @@ -1 +1 @@ -{{ $html }} \ No newline at end of file +{!! $html !!} \ No newline at end of file From fe1e865bf22087bb494d347f9e27aeeea22d0fa4 Mon Sep 17 00:00:00 2001 From: Roelof Roos Date: Sun, 25 Sep 2022 14:31:38 +0200 Subject: [PATCH 2/3] Added final EOL to raw.blade.html --- resources/views/raw.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/raw.blade.php b/resources/views/raw.blade.php index 46b3207..974f823 100644 --- a/resources/views/raw.blade.php +++ b/resources/views/raw.blade.php @@ -1 +1 @@ -{!! $html !!} \ No newline at end of file +{!! $html !!} From df078c79a7a478dc53ca7200e5a827868eea7c2b Mon Sep 17 00:00:00 2001 From: Roelof Roos Date: Sun, 25 Sep 2022 14:33:48 +0200 Subject: [PATCH 3/3] Updated changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a2aa0c..58f3577 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [UNRELEASED] +### Fixed + +- Fixed HTML escaping on list and raw HTML fields. (#80 by @Harrk) + ## [3.0.5] ### Fixed