Rev 7771 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7771 | Rev 7780 | ||
---|---|---|---|
Line 344... | Line 344... | ||
344 | else if (chrnum(bufpointer, '\x246')>5) ChangeEncoding(CH_CP1251); |
344 | else if (chrnum(bufpointer, '\x246')>5) ChangeEncoding(CH_CP1251); |
345 | } |
345 | } |
346 | return; |
346 | return; |
347 | } |
347 | } |
348 | if (tag.is("br")) { NewLine(); return; } |
348 | if (tag.is("br")) { NewLine(); return; } |
349 | if (tag.is("b")) || (tag.is("strong")) || (tag.is("big")) { style.b = tag.opened; return; } |
349 | if (tag.is("b")) || (tag.is("strong")) || (tag.is("big")) { |
- | 350 | style.b = tag.opened; |
|
- | 351 | return; |
|
- | 352 | } |
|
350 | if (tag.is("a")) { |
353 | if (tag.is("a")) { |
351 | if (tag.opened) |
354 | if (tag.opened) |
352 | { |
355 | { |
353 | if (value = tag.get_value_of("href=")) && (!strstr(value,"javascript:")) |
356 | if (value = tag.get_value_of("href=")) && (!strstr(value,"javascript:")) |
354 | { |
357 | { |
Line 391... | Line 394... | ||
391 | } |
394 | } |
392 | if (tag.is("header")) || (tag.is("article")) || (tag.is("footer")) || (tag.is("figure")) { |
395 | if (tag.is("header")) || (tag.is("article")) || (tag.is("footer")) || (tag.is("figure")) { |
393 | NewLine(); |
396 | NewLine(); |
394 | return; |
397 | return; |
395 | } |
398 | } |
396 | if (tag.is("p")) { |
399 | if (tag.is("p")) || (tag.is("w:p")) { |
397 | IF (tag.prior[0] == 'h') || (streq(#tag.prior,"td")) || (streq(#tag.prior,"p")) return; |
400 | IF (tag.prior[0] == 'h') || (streq(#tag.prior,"td")) || (streq(#tag.prior,"p")) return; |
398 | NewLine(); |
401 | NewLine(); |
399 | return; |
402 | return; |
400 | } |
403 | } |
401 | if (tag.is("pre")) { style.pre = tag.opened; return; } |
404 | if (tag.is("pre")) { style.pre = tag.opened; return; } |