<br /> tags showing in canvas for multiline textarea ACF field


When adding a multiline textarea ACF Field and for the “New Lines” setting selecting the “Automatically add <br>” option displays the <br /> tags in the editor canvas when adding the field using the dynamic inserter.

Step-by-step reproduction instructions:

Please write the steps needed to reproduce the bug.

  1. Add a multiline Textarea ACF field
  2. For the New Lines option, select “Automatically add <br>
  3. Display the field using the dynamic inserter within a post
  4. Note that the <br /> tags are visible in the editor canvas
  5. Preview the field on the frontend
  6. Note that the field displays correctly with wrapped lines

Screenshots, screen recording, code snippet

ACF field configuration:

Editor canvas view:
Screenshot 2024-02-15 at 10.43.27

Frontend view:
Screenshot 2024-02-15 at 10.43.56

Environment info

  • WordPress version: 6.4.3
  • Cwicly Plugin version:

Hi @StrangeTech,

Thank you for bringing this to our attention!

I have been able to reproduce this issue on my end, and can confirm it is a bug.
Rest assured, we’ll have a fix for this as soon as possible.

Apologies for the inconvenience.