function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
OceanWoogOceanWoog 

Does Custom Label support HTML content?

Hi there,

I need to develop a site in multiple languages using custom labels, but I found HTML tags in custom labels display as plan text, please advise, thanks alot!

Pradeep_NavatarPradeep_Navatar

You can’t create HTML  as Custom labels because Custom labels are Custom Text Values. For more information about Custom Labels go through this link https://na7.salesforce.com/help/doc/user_ed.jsp?loc=help&target=cl_about.htm&section=Custom_Labels

 

Hope this helps.

OceanWoogOceanWoog

no, you can see the default labels that salesforce.com provides, they also contains <a></a> e.g.

$Label.site.get_in_touch in FileNotFound page: Please <a href="{0}">{1}</a> if you need to get in touch.

 

I try set escape="false", and it works...

any other suggestion.

rotfilrotfil
Has this changed? Surely someone must have wanted to put some bold text inside a Custom Label by now...