Subversion Repositories Kolibri OS

Rev

Rev 8363 | Rev 8396 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8363 Rev 8365
Line 453... Line 453...
453
	if (tag.is("img")) {
453
	if (tag.is("img")) {
454
		value = tag.get_value_of("src=");
454
		value = tag.get_value_of("src=");
455
		if (!value) value = tag.get_value_of("data-src=");
455
		if (!value) value = tag.get_value_of("data-src=");
456
		if (!value) goto NOIMG;
456
		if (!value) goto NOIMG;
Line -... Line 457...
-
 
457
 
-
 
458
		if (!strcmp(value + strrchr(value, '.'), "svg")) goto NOIMG;
457
 
459
 
458
		strlcpy(#img_path, value, sizeof(img_path)-1);
460
		strlcpy(#img_path, value, sizeof(img_path)-1);
Line 459... Line 461...
459
		get_absolute_url(#img_path, history.current());
461
		get_absolute_url(#img_path, history.current());
460
 
462