Closed
Description
Preconditions (*)
- PHP 7.2
- Magento 2.3.4
Steps to reproduce (*)
- Enable the CSS critical path
- Check the source of the page
Expected result (*)
- Expected to see the correct critical path URLs
Actual result (*)
- I get an error in Firefox sourcecode of the page that there are no spaces available between attributes of the critical path CSS links
- Example:
<link rel="preload" as="style" media="all" .
onload="this.onload=null;this.rel='stylesheet'"href="https://www.domain.coml/pub/static/version1584400998/_cache/merged/eab50c6fab344632384864f164c807d1.min.css">
<link rel="preload" as="style" media="screen and (min-width: 768px)" .
onload="this.onload=null;this.rel='stylesheet'"href="https://www.domain.com/pub/static/version1584400998/frontend/Vendor/theme/us_US/css/styles-l.min.css">