How to get Looker to display carriage returns

Knowledge Drop

Last tested: Aug 28, 2019
 

You should be able to use liquid to replace line break characters with HTML line break tags... something like 

{{ value | replace "\n","<br /" }} . 

Or better yet, you can use whitespace css. Just checked and it's allowed... 
 

html:<div style="white-space:pre">{{value}}</div>;; 


This content is subject to limited support.                

Version history
Last update:
‎06-14-2021 06:17 PM
Updated by: