This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

fred12563
fred12563

$this["message"] in code is accessed using {{ message }} in markup. Setting $this["message"] = "<p style='color:red;'>ALERT</p>"; in the code displays the {{ message }} without rendering the html. Is it possible to display the {{ messgae }} with html rendered?

EDIT: changed the post so that html in $this["message"] doesn't render in the forum pages :)

Last updated

fred12563
fred12563

{{ message|raw }}

1-2 of 2

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.