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

Software Engineer for AI Training Data (School Specific)

@ G2i Inc | Remote

Software Engineer for AI Training Data (Python)

@ G2i Inc | Remote

Software Engineer for AI Training Data (Tier 2)

@ G2i Inc | Remote

Data Engineer

@ Lemon.io | Remote: Europe, LATAM, Canada, UK, Asia, Oceania

Artificial Intelligence – Bioinformatic Expert

@ University of Texas Medical Branch | Galveston, TX

Lead Developer (AI)

@ Cere Network | San Francisco, US