Discussions

Expand all | Collapse all

How to Keep HTML after Using Left Function to Produce Excerpt?

  • 1.  How to Keep HTML after Using Left Function to Produce Excerpt?

     
    Posted 04-22-2019 14:06
    I use the Left function in a Rich Text Formula field to show the first 200 characters of a regular Rich Text field. However, in a report, this appears to strip it of its HTML function, showing the source code instead.

    e.g. Hello become <a href="google.com">Hello</a>

    Is there a way for me to avoid this, and preserve the HTML functionality?


  • 2.  RE: How to Keep HTML after Using Left Function to Produce Excerpt?

    Posted 04-22-2019 14:48
    You probably truncated a few HTML elements. Ensure you are only truncating on the Text part, not the entire formula contents. 


  • 3.  RE: How to Keep HTML after Using Left Function to Produce Excerpt?

     
    Posted 04-22-2019 15:06
    Ah, I'm a fool. Thank you, yes - you were right.