I am building a Visualforce page as PDF and i want to show some sections and clauses of a Contract, which are within Salesforce as records. The value i want to display is rich text area and this rich text area has some words in bold. However, this styling is not applied. Has anyone faced this issue in the past or has an idea on how to handle this? Code below. Field that is not displayed with the appropriate styling: csclm__Final_Rich_Text__c
<div class="section">
<apex:repeat value="{!sections}" var="section">
<div class="section section{!section.csclm__Level__c}">
<p
class="subsection{!section.csclm__Level__c}" style="font-family: Arial Unicode MS;">
{!section.csclm__Numbering__c}
{!section.csclm__Section_Name__c}</p>
<apex:repeat value="{!section.csclm__Transactional_Clauses__r}"
var="clause">
<div class="clause clause{!clause.csclm__Level__c}" style="font-family: Arial Unicode MS;">
<span class="numbering">{!clause.csclm__Numbering__c}</span>
<apex:outputText value = "{!clause.csclm__Final_Rich_Text__c}" escape="false" richtext="true"></apex:outputText>
</div>
</apex:repeat>
</div>
</apex:repeat>
</div>
Example of record in Salesforce (Rich Text Area), word test is in bold!:
Example of how it is rendered in PDF through VF page. As you can see, there is no difference between the text "TEST", which should be in bold and the rest of the sentence.
apex:outputField
β