Public
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Guide

HTML in announcement is displaying as HTML

Hi.

New to Lithium platform.  I am using simple HTML in an announcement to link up some text, but the HTML is actually displaying in the announcement.  What am I doing wrong?

Thanks

Ed

6 Replies 6
Boss

Hi Ed,

Do you mean the Announcement component found at Admin > Content > Announcements? This should accept HTML. Can you show us what you have there? Maybe there's an issue with your code.

----------------------------------

Lili McDonald
Community Manager @ Amazon
Connect on LinkedIn

That is the one.  I am using:

Check out all the keynotes and sessions from <a href="https://community.carbonblack.com/t5/Cb-Connect-2018/gp-p/g-7149">Cb Connect 2018!</a> 

Thanks for your reply!

Looks like your a href isn't closed.

 

heck out all the keynotes and sessions from <a href="https://community.carbonblack.com/t5/Cb-Connect-2018/gp-p/g-7149"> Cb Connect 2018! </a>

----------------------------------

Lili McDonald
Community Manager @ Amazon
Connect on LinkedIn

@esullivan,

Please check the your quilt has below component to get the data from announcement field.

 

<component id="common.widget.announcement"/>

Above component will automatically display HTML text announcement field.

If you are using API to get the text from announcement field then you have to add

${announcement?html} or ${announcement?xhtml}

in place where you are printing them from API.

 

.......
Expecting your Kudos and Accepted Solution to my replies.

Parshant!

Where can I check the quilt???

Thanks!

Ed

@esullivan,

You an check this in Studio > Page.

If its not there in page. Then you have to check into code for this.

.......
Expecting your Kudos and Accepted Solution to my replies.

Welcome to the Technology board!

Curious about our platform? Looking to connect on social technology? You've come to the right place!

Are you a Khoros customer? For direct assistance from our Support team, please visit the Support Forum.