reactjs – Parsing HTML code is not fully displayed in the Chrome browser

I use reactJS to render an email response. With email templates that I tried with dangerouslySetInnerHtml ReactHtmlParser, the problem is always in Chrome. Firefox always shows the full HTML template, but in Chrome the HTML to be analyzed is incomplete, even if I display it in the console using console.log

Always in Chrome with dangerouslySetInnerHtml or ReactHtmlParser the string is incomplete, but in Firefox it is complete and everything works fine.

This is the code to view the email:

Where str is the HTML code to be rendered

This is a raw edition of str in Chrome that lacks all styles and images:

55% OFF until Monday, January 20th



Access all Career Path programs with
Your Cybrary Insider Pro Membership

It's easy! Pick your desired career and start learning the exact skills needed for that job.

Become A Network Engineer

Become A Soc Analyst

Become A Penetration Tester

Become A Cyber Security Engineer


© 2019 Cybrary, Inc. All Rights Reserved.
5801 University Research Court STE 150, College Park, MD 20740

If you no longer wish to receive these emails you may unsubscribe here:…Z4OWF0SEFTSStLendsbHU5YlprTEF4S05qNTl6VHBzcElKZFhBU29uYWY3RGhVQkV4L1FuRiJ9.

And this is "part" of the same edition of the same email, but in Firefox, which plays perfectly in the browser: