TypeError gulp-webp-css when adding img class or date attribute?

  • 0
    Gulp swears when adding a class or date attribute that specifies a color. How to fix this error?

    <div class="product-prev__header">
    		<div class="js-product-prev__slider">
    			<img class="product-prev__img" src="img/content/products/product-1/8521-B.jpg" alt="Самокат Smiley Mini 8521 (синий)"
    				data-color="#1089ff">
    			<img class="product-prev__img" src="img/content/products/product-1/8521-R.jpg" alt="Самокат Smiley Mini 8521 (красный)"
    				data-color="#f00">
    			<img class="product-prev__img" src=" img/content/products/product-1/8521-O.jpg" alt="Самокат Smiley Mini 8521 (оранжевый)"
    				data-color="#de5216">
    		</div>
    	</div>
    JavaScript Cole Charles, Jul 15, 2020

  • 0 Answers
Your Answer
To place the code, please use CodePen or similar tool. Thanks you!