Answers.Body: <p>There's a WIP PR (work-in-progress code change) that if I remember right while reviewing it made it mostly work, but I do think html is iffy right now.</p>
  
  <p><a href="https://github.com/civicrm/civicrm-core/pull/15836#issuecomment-553702913" rel="nofollow noreferrer">https://github.com/civicrm/civicrm-core/pull/15836#issuecomment-553702913</a></p>
  
  <p>You could do it with an extension that just inserts some jquery that appends your text to the existing <code>&lt;div&gt;</code>. <a href="https://docs.civicrm.org/dev/en/latest/framework/region/" rel="nofollow noreferrer">https://docs.civicrm.org/dev/en/latest/framework/region/</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-05-14T22:44:31.090Z
Answers.LastActivityDate: 2020-05-14T22:44:31.090Z
Answers.UserDisplayName: Demerit
Body: <p>We have a contribution page, it says the following when credit cards are declined:</p>
  
  <p>Your payment was not successful. Please try again</p>
  
  <p>we want it to say:</p>
  
  <p>Your payment was not successful. Please try again. If you continue to have issues, please email us.</p>
  
  <p>When I use <code>&lt;a href="mailto:email@mail.com"&gt;email us&lt;/a&gt;</code> the word replacement gets garbles the input.</p>
  
  <p>Is there another option?</p>
  
Tags: <civicontribute><error>
Title: Can you include html in word replacements?
ThreadText: # Can you include html in word replacements?
  
  (Asked by: username_0 on 2020-05-14)
  
  We have a contribution page, it says the following when credit cards are declined:
  
  Your payment was not successful. Please try again
  
  we want it to say:
  
  Your payment was not successful. Please try again. If you continue to have issues, please email us.
  
  When I use `<a href="mailto:email@mail.com">email us</a>` the word replacement gets garbles the input.
  
  Is there another option?
  
  **Tags:** civicontribute, error
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-05-14. Score: 1
  
  There's a WIP PR (work-in-progress code change) that if I remember right while reviewing it made it mostly work, but I do think html is iffy right now.
  
  <https://github.com/civicrm/civicrm-core/pull/15836#issuecomment-553702913>
  
  You could do it with an extension that just inserts some jquery that appends your text to the existing `<div>`. <https://docs.civicrm.org/dev/en/latest/framework/region/>
  
  
  ---
  
  