Answers.Body: <p>You can turn off html encoding for CKeditor through UI</p>
  <p>Navigate to Administer &gt;&gt; Customize Data and Screens &gt;&gt; Display preferences</p>
  <p>Scroll down until you see <code>Configure CkEditor</code> button. Click on it to view all the settings. Under Advance options add <code>entities</code> option as <code>False</code>(as shown in image) and save the form.</p>
  <p><a href="https://i.sstatic.net/8sSKU.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/8sSKU.png" alt="enter image description here" /></a></p>
  <p><strong>Note: You will need to clear your browser cache to reflect the changes(and CiviCRM caches).</strong></p>
  <p>If you want to turn off the ck-editor completely for whole site than you can switch to text area. You need to navigate it to CiviCRM &gt;&gt; Administer &gt;&gt; Customize Data and Screens &gt;&gt; Display preferences. Change value for Wysiwig Editor from ckeditor to text area.</p>
  <p>HTH</p>
  <p>Pradeep</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-07-16T23:04:19.790Z
Answers.LastActivityDate: 2020-07-16T23:04:19.790Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p>Drupal 7.72
  Civi 5.24.5</p>
  <p>I recently added an IF statement to our receipts and Thank-You letters to comply with Florida Charity Regulations. The state of FL requires us to have a statement on our receipts for donors from FL. So I did a IF 'FL' then... It works with the System Workflow Templates for online and offline receipts. However, for checks we send a Thank-You Letter as a receipt. That kinda works. The difference I see is, the Thank-You letter has a WYSIWYG with it but the System Workflow Template online/offline does not. The WYSIWYG shows {if $stateProv eq 'FL'} but the html source has {if $stateProv eq &amp; #39;FL&amp; #39;} (I added spaces so it displays without converting to ')  If I change the html source to {if $stateProv eq 'FL'} it works but even though we check &quot;Update Template&quot; it still needs to have this changed every time we use the Thank-You letter template.</p>
  <ol>
  <li>How do I fix the Thank-You letter?</li>
  <li>Where do I find the WYSIWYG settings in CiviCRM? I tried to find where to disable that or even find what WYSIWYG we are using so I could Google a fix to make '' stick.</li>
  </ol>
  
Tags: <system-workflow-messages><wysiwyg>
Title: Thank-you letters WYSIWYG vs html source content
ThreadText: # Thank-you letters WYSIWYG vs html source content
  
  (Asked by: username_0 on 2020-07-16)
  
  Drupal 7.72
  Civi 5.24.5
  
  I recently added an IF statement to our receipts and Thank-You letters to comply with Florida Charity Regulations. The state of FL requires us to have a statement on our receipts for donors from FL. So I did a IF 'FL' then... It works with the System Workflow Templates for online and offline receipts. However, for checks we send a Thank-You Letter as a receipt. That kinda works. The difference I see is, the Thank-You letter has a WYSIWYG with it but the System Workflow Template online/offline does not. The WYSIWYG shows {if $stateProv eq 'FL'} but the html source has {if $stateProv eq & #39;FL& #39;} (I added spaces so it displays without converting to ')  If I change the html source to {if $stateProv eq 'FL'} it works but even though we check "Update Template" it still needs to have this changed every time we use the Thank-You letter template.
  
  1. How do I fix the Thank-You letter?
  2. Where do I find the WYSIWYG settings in CiviCRM? I tried to find where to disable that or even find what WYSIWYG we are using so I could Google a fix to make '' stick.
  
  **Tags:** system-workflow-messages, wysiwyg
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-07-16. Score: 2 | Accepted answer
  
  You can turn off html encoding for CKeditor through UI
  
  Navigate to Administer >> Customize Data and Screens >> Display preferences
  
  Scroll down until you see `Configure CkEditor` button. Click on it to view all the settings. Under Advance options add `entities` option as `False`(as shown in image) and save the form.
  
  [![enter image description here](https://i.sstatic.net/8sSKU.png)](https://i.sstatic.net/8sSKU.png)
  
  **Note: You will need to clear your browser cache to reflect the changes(and CiviCRM caches).**
  
  If you want to turn off the ck-editor completely for whole site than you can switch to text area. You need to navigate it to CiviCRM >> Administer >> Customize Data and Screens >> Display preferences. Change value for Wysiwig Editor from ckeditor to text area.
  
  HTH
  
  Pradeep
  
  
  ---
  
  