File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
components/com_finder/tmpl/search Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 5454if ($ show_image )
5555{
5656 $ resultImageObject = $ this ->result ->getImage ();
57- $ imageclass = $ this ->params ->get ('image_class ' , '' );
58- $ image = HTMLHelper::cleanImageURL ($ resultImageObject ->url );
57+ $ imageclass = $ this ->params ->get ('image_class ' , '' );
58+ $ image = HTMLHelper::cleanImageURL ($ resultImageObject ->url );
5959
6060 // Set lazyloading only for images which have width and height attributes
6161 if ((isset ($ image ->attributes ['width ' ]) && (int ) $ image ->attributes ['width ' ] > 0 )
9090 <?php endif ; ?>
9191 </p>
9292 <?php if ($ show_image && isset ($ image )) : ?>
93- <figure class="<?php echo htmlspecialchars ($ imageclass , ENT_COMPAT , 'UTF-8 ' ); ?> result__image">
94- <img src="<?php echo htmlspecialchars ($ image ->url , ENT_COMPAT , 'UTF-8 ' ); ?> "
93+ <figure class="<?php echo htmlspecialchars ($ imageclass , ENT_COMPAT , 'UTF-8 ' ); ?> result__image">
94+ <img src="<?php echo htmlspecialchars ($ image ->url , ENT_COMPAT , 'UTF-8 ' ); ?> "
9595 <?php echo $ alt ; ?>
9696 <?php echo $ extraAttr ; ?>
97- />
98- </figure>
97+ />
98+ </figure>
9999 <?php endif ; ?>
100100 <?php if ($ show_description && $ description !== '' ) : ?>
101101 <p class="result__description">
You can’t perform that action at this time.
0 commit comments