Projekt

Allgemein

Profil

GX-Bug #51338 » ProductListingTruncateFix.patch

Till Tepelmann, 28.04.2017 16:39

Unterschiede anzeigen:

src/templates/Honeygrid/smarty/function.product_listing.php (revision )
165 165
		
166 166
		mb_regex_encoding('UTF-8');
167 167
		mb_regex_set_options('m');
168
		$pattern = '^.{1,' . $options['truncate'] . '}\B[^\s]+';
168
		$pattern = '^.{1,' . $options['truncate'] . '}\b[^\s]+';
169 169

  
170 170
		if(mb_ereg($pattern, html_entity_decode_wrapper($product['PRODUCTS_NAME']), $shortened))
171 171
		{
    (1-1/1)