+ Start a Discussion

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!


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.


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.

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