Line breaks or other HTML in the Consent Preference Manager category content

Bronze Contributor
Bronze Contributor

Hello,

I have some more information text to put into the category content of the Consent Preference Manager fields e.g. {{category_analytics_description}} .

To structure this content better I want at least to have some line breaks I can insert: <br>.

At the moment all HTML content is decoded as text and it looks like a big, not very userfriendly block of text.

Thanks
fanfarian

Creative communication with the web
1 REPLY 1

Line breaks or other HTML in the Consent Preference Manager category content

Employee Emeritus

@fanfarian the consent manager uses a template system so any values inside the {{ }} will be replaced with text.

Unfortunately, this is a limitation of the way it works.

What I suggest, is adding a custom parameter eg: {{category_analytics_description_line2}} 

Then update the HTML for that category. Eg:

<td>{{category_analytics_description}}
<br />
{{category_analytics_description_line2}}</td>

Hope that helps!

 

Public