Feb. 17, 2024, 6:57 p.m. | Rafa Rafael

DEV Community dev.to

Introduction

Blade templating in Laravel offers a convenient way to create dynamic views for web applications. However, rendering raw HTML content containing HTML entities can sometimes pose challenges. In this blog post, we'll explore how to overcome this challenge by combining Blade's raw output syntax with the html_entity_decode() function. Additionally, we'll delve into the creation of a model macro for even more streamlined usage.


Understanding Blade Templating

Blade templating simplifies the process of creating views in Laravel. It provides features …

applications beginners blade blog challenge challenges dynamic explore function html introduction laravel raw rendering syntax web webdev

Data Architect

@ University of Texas at Austin | Austin, TX

Data ETL Engineer

@ University of Texas at Austin | Austin, TX

Lead GNSS Data Scientist

@ Lurra Systems | Melbourne

Senior Machine Learning Engineer (MLOps)

@ Promaton | Remote, Europe

#13721 - Data Engineer - AI Model Testing

@ Qualitest | Miami, Florida, United States

Elasticsearch Administrator

@ ManTech | 201BF - Customer Site, Chantilly, VA