diff --git a/resources/views/themes/another-portfolio/rain/widgets/HeadingWidget.blade.php b/resources/views/themes/another-portfolio/rain/widgets/HeadingWidget.blade.php index d44e9a8..95b9ad5 100644 --- a/resources/views/themes/another-portfolio/rain/widgets/HeadingWidget.blade.php +++ b/resources/views/themes/another-portfolio/rain/widgets/HeadingWidget.blade.php @@ -1,3 +1,9 @@ -
- {!! $data['content'] !!} +
+ {!! + (new \Illuminate\Support\HtmlString( + str(strip_tags($data['content'])) + ->markdown() + )) + ->toHtml() + !!}
diff --git a/resources/views/themes/breeze/rain/widgets/HeadingWidget.blade.php b/resources/views/themes/breeze/rain/widgets/HeadingWidget.blade.php index d44e9a8..95b9ad5 100644 --- a/resources/views/themes/breeze/rain/widgets/HeadingWidget.blade.php +++ b/resources/views/themes/breeze/rain/widgets/HeadingWidget.blade.php @@ -1,3 +1,9 @@ -
- {!! $data['content'] !!} +
+ {!! + (new \Illuminate\Support\HtmlString( + str(strip_tags($data['content'])) + ->markdown() + )) + ->toHtml() + !!}
diff --git a/resources/views/themes/daisy/rain/widgets/HeadingWidget.blade.php b/resources/views/themes/daisy/rain/widgets/HeadingWidget.blade.php index d44e9a8..95b9ad5 100644 --- a/resources/views/themes/daisy/rain/widgets/HeadingWidget.blade.php +++ b/resources/views/themes/daisy/rain/widgets/HeadingWidget.blade.php @@ -1,3 +1,9 @@ -
- {!! $data['content'] !!} +
+ {!! + (new \Illuminate\Support\HtmlString( + str(strip_tags($data['content'])) + ->markdown() + )) + ->toHtml() + !!}