jrquick jrquick - 10 months ago 36
HTML Question

How do you output Fat Free PHP variable as HTML?

I am trying to output a variable from F3 which contains HTML.

$message = "<p>Hello, <b>World</b></p>"

I am outputting it as follows:

<div class="container">
{{ @message }}

The problem is it displays exactly like so:

"<p>Hello, <b>World</b></p>"

Instead of just:

Hello, World


Per their docs:

<div class="container">
    {{ @message | raw }}