Subversion Repositories Kolibri OS

Rev

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

Rev 7762 Rev 7764
Line 398... Line 398...
398
	if (tag.is("td")) { if (tag.opened) AddCharToTheLine(' '); return; }
398
	if (tag.is("td")) { if (tag.opened) AddCharToTheLine(' '); return; }
399
	if (tag.is("tr")) { if (tag.opened) NewLine(); return; }
399
	if (tag.is("tr")) { if (tag.opened) NewLine(); return; }
400
	if (tag.is("button")) { style.button = tag.opened; stolbec++; return; }
400
	if (tag.is("button")) { style.button = tag.opened; stolbec++; return; }
401
	if (tag.is("u")) || (tag.is("ins")) { style.u=tag.opened; return;}
401
	if (tag.is("u")) || (tag.is("ins")) { style.u=tag.opened; return;}
402
	if (tag.is("s")) || (tag.is("strike")) || (tag.is("del")) { style.s=tag.opened; return; }
402
	if (tag.is("s")) || (tag.is("strike")) || (tag.is("del")) { style.s=tag.opened; return; }
-
 
403
	if (tag.is("dl")) { 
-
 
404
		if (tag.opened) NewLine();
-
 
405
		return; 
-
 
406
	}
-
 
407
	if (tag.is("dd")) { 
-
 
408
		//NewLine();
403
	//if (tag.is("dd")) { stolbec += 5; return; } //stolbec overflow!
409
		//if (tag.opened) stolbec += 5;  //stolbec overflow! 
-
 
410
		return; 
-
 
411
	}
404
	if (tag.is("blockquote")) { style.blq = tag.opened; return; }
412
	if (tag.is("blockquote")) { style.blq = tag.opened; return; }
405
	if (tag.is("code")) { 
413
	if (tag.is("code")) { 
406
		if (tag.opened) style.bg_color = 0xe4ffcb; else style.bg_color = page_bg;
414
		if (tag.opened) style.bg_color = 0xe4ffcb; else style.bg_color = page_bg;
407
		style.pre = tag.opened; return; 
415
		style.pre = tag.opened; return; 
408
	}
416
	}