[BACK]Return to html.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/html.c between version 1.245 and 1.246

version 1.245, 2018/12/04 18:29:38 version 1.246, 2018/12/15 19:30:26
Line 402  print_encode(struct html *h, const char *p, const char
Line 402  print_encode(struct html *h, const char *p, const char
                         continue;                          continue;
   
                 esc = mandoc_escape(&p, &seq, &len);                  esc = mandoc_escape(&p, &seq, &len);
                 if (ESCAPE_ERROR == esc)  
                         break;  
   
                 switch (esc) {                  switch (esc) {
                 case ESCAPE_FONT:                  case ESCAPE_FONT:
                 case ESCAPE_FONTPREV:                  case ESCAPE_FONTPREV:
Line 422  print_encode(struct html *h, const char *p, const char
Line 419  print_encode(struct html *h, const char *p, const char
                 case ESCAPE_SKIPCHAR:                  case ESCAPE_SKIPCHAR:
                         h->flags |= HTML_SKIPCHAR;                          h->flags |= HTML_SKIPCHAR;
                         continue;                          continue;
                   case ESCAPE_ERROR:
                           continue;
                 default:                  default:
                         break;                          break;
                 }                  }
Line 445  print_encode(struct html *h, const char *p, const char
Line 444  print_encode(struct html *h, const char *p, const char
                         c = mchars_spec2cp(seq, len);                          c = mchars_spec2cp(seq, len);
                         if (c <= 0)                          if (c <= 0)
                                 continue;                                  continue;
                           break;
                   case ESCAPE_UNDEF:
                           c = *seq;
                         break;                          break;
                 case ESCAPE_DEVICE:                  case ESCAPE_DEVICE:
                         print_word(h, "html");                          print_word(h, "html");

Legend:
Removed from v.1.245  
changed lines
  Added in v.1.246

CVSweb