Outputting HTML via Blade, but it shows code instead of rendering it
, , This is important text tags), but instead of the browser rendering it as a normal web page, it shows me the raw HTML code.
Here's an example of my code. In the controller, I pass data to the view:
```php
$article = Article::find($id);
return view('article.show', ['article' => $article]);
```
In the `article.show.blade.php` template, I do this:
```blade
`. But in the output, I literally see this string with
No answers yet.
Log in to leave an answer