• Hello!

    With the new update, I noticed that changed the response output approach to using innerText instead of innerHTML. On the screenshot below, can see what the result is. innerHTML is better because we can customize the output as we want.

    Screenshot of invalid response output

    I created a fork where I changed innerText to innerHTML in includes/js/src/submit.js

    Fork

    includes/js/src/submit.js

    Stage server with wrong behavior. Link

    Production server with hotfix and expected behavior. Link

    I disabled plugins excluding Contact Form 7, Classic Editor, and Yoast SEO. MWS Prosoft and prosoft-jobboard convert response output messages into HTML. With the new update, CF7 set response output as plain text.

    New video where I demonstrate error with disabled plugins.

    Thanks for your work!

    • This topic was modified 3 years, 10 months ago by stasbamiza.
  • The topic ‘Response output become plain text instead of HTML content’ is closed to new replies.