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

RyanHavoc
RyanHavoc

I basically have this:

{% partial "global/spec-tab" active=tab2
                             tabs=4
                             url="/essentials/dedicated-servers/core"
                             pane="dedicated-servers-p1"
                             icon_name="dedicated-core"
                             title="Core"
                             cpu="Intel&reg;<br/>Dual Core 2.4GHz"
                             storage="up to 2TB"
                             memory="up to 8GB"
                             bandwidth="500GB"
                             price_per_month="£99" %}

On the cpu variable I have a HTML entity and a break tag. This doesn't get parsed by the partial. Is there any way to make it do it?

Last updated

FrankWikstrom
FrankWikstrom

In the partial, render the variable via {{ cpu | raw }}

RyanHavoc
RyanHavoc

Perfect. Thanks for that.

1-3 of 3

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