Knowledge Drop

How to get Looker to display carriage returns


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.                

 

 

 


0 replies

Be the first to reply!

Reply