Enhance your dynamic blocks with Shoelace free web components

Sent you a Direct Message so we can fix it quickly, i’m in

Solved. For those who have a need for their users to copy/paste html (or just code and not only text), adding some specific escape characters might be needed.
I also added a text next to the copy/paste button to make it clearer for the end-user

CONCATENATE(
  "<span style='margin-right:7px; font-size:15px;'>Copy HTML here:</span>",
  "<sl-copy-button value='",
  SUBSTITUTE(
    SUBSTITUTE(
      SUBSTITUTE(
        SUBSTITUTE(
          SUBSTITUTE({Field_Displaying_HTML}, "&", "&amp;"),
          "<", "&lt;"
        ),
        ">", "&gt;"
      ),
      "'", "&#39;"
    ),
    '"', "&quot;"
  ),
  "'></sl-copy-button>"
)