Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.0.6, 4.0.7, 4.1.3, 4.1.4, 4.2.0
-
None
Description
The image tag generated should have an alt attribute to be XHTML 1.0 Transitionnal compliant.
File : kernel/common/ezwordtoimageoperator.php
Line : 75
Code should be :
foreach( $replaceIcon as $icon )
{
$icons[] = '<img src="' . $wwwDirPrefix . $iconRoot .'/' . $icon . '" alt="'. $replaceText .'"/>';
}
Patch attached
Steps to reproduce
Use wordtoimage template operator with a text containing a pattern matched in wordtoimage.ini