在自定义标签中使用HTML标签(e.g. 换行符)

Custom Label is a really useful feature in Salesforce, not only can be edited after deployed, but also can be used for making an app multilingual with Translation Workbench.

If you want to use HTML tag with it on Visualforce Page, e.g. <br /> tag, the only thing you need to do is using an unescaped Apex:outputText , as the following:

VF Page

Custom Label

The interface of Custom Label looks like the below: Custom Label  LineBreakText   Salesforce   Developer Edition
And the Metadata it was generated looks like the below :



Enjoy it!