Skip to product information
1 of 1
Published:2022.12.13

To break multi-line text in Shopify metafields on the display side, you need to add the "newline_to_br" filter

To break multi-line text in Shopify metafields on the display side, you need to add the "newline_to_br" filter

Applications

  • String Processing

How to implement

  • LIQUID
View full details

In the case of a multi-line text field in a meta field, the line breaks will not be reflected on the display side if left as is, so you need to add the "newline_to_br" filter to the tag to be output.

Related Post