Plain Text Multiline removing line breaks

From the CMS if you create a Plain Text field and choose Multiple line for it's Text Field Type.. The line breaks are sanitized/removed when they're rendered on a collection item.

If this is the default desired behaviour for security reasons, either update the messaging in the Collection admin that let's you know line breaks will be stripped. Or whitelist the BR as as safe element.

  • Anthony Pilger
  • Feb 10 2022
  • Adam Jahnke commented
    13 Oct, 2023 09:39pm

    This is insane, it is not a "multi-line textarea" if you sanitize it like this! Please reconsider!