Khoros Atlas Logo

Occasional Advisor
Occasional Advisor

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

Tags (1)
0 Kudos
6 Replies 6
Honored Contributor Honored Contributor
Honored Contributor

Re: HTML in announcement is displaying as HTML

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
Sr. Digital Business Manager - Community
@ National Instruments
0 Kudos
Reply
Loading...
Occasional Advisor
Occasional Advisor

Re: HTML in announcement is displaying as HTML

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!

0 Kudos
Reply
Loading...
Honored Contributor Honored Contributor
Honored Contributor

Re: HTML in announcement is displaying as HTML

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
Sr. Digital Business Manager - Community
@ National Instruments
0 Kudos
Reply
Loading...
Honored Contributor
Honored Contributor

Re: HTML in announcement is displaying as HTML

@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.

 

.......
Do you know we work with Kudos and Accepted Solution.
0 Kudos
Reply
Loading...
Occasional Advisor
Occasional Advisor

Re: HTML in announcement is displaying as HTML

Parshant!

Where can I check the quilt???

Thanks!

Ed

0 Kudos
Reply
Loading...
Honored Contributor
Honored Contributor

Re: HTML in announcement is displaying as HTML

@esullivan,

You an check this in Studio > Page.

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

.......
Do you know we work with Kudos and Accepted Solution.
Reply
Loading...