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

Diff for /mandoc/html.c between version 1.78 and 1.81

version 1.78, 2009/11/01 15:34:15 version 1.81, 2009/11/05 10:16:01
Line 270  print_escape(struct html *h, const char **p)
Line 270  print_escape(struct html *h, const char **p)
                         return;                          return;
                 }                  }
   
                 switch (*wp) {                  /*
                 case ('B'):                   * These aren't supported, as they're symmetry-breaking
                         /* TODO */                   * constructs that don't play well with hierarchical
                         break;                   * mark-up.  Consider:
                 case ('I'):                   *
                         /* TODO */                   * \fBHello.
                         break;                   * .PP
                 case ('P'):                   * World.
                         /* FALLTHROUGH */                   *
                 case ('R'):                   * The style started before "Hello" wouldn't be able to
                         /* TODO */                   * propogate into the next `PP' because we'd exit the
                         break;                   * current paragraph's scope.
                 default:                   */
                         break;  
                 }  
   
                 *p = wp;                  *p = wp;
                 return;                  return;
Line 322  print_encode(struct html *h, const char *p)
Line 320  print_encode(struct html *h, const char *p)
                 sz = strcspn(p, "\\<>&");                  sz = strcspn(p, "\\<>&");
   
                 fwrite(p, 1, sz, stdout);                  fwrite(p, 1, sz, stdout);
                 p += sz;                  p += /* LINTED */
                           sz;
   
                 if ('\\' == *p) {                  if ('\\' == *p) {
                         print_escape(h, &p);                          print_escape(h, &p);

Legend:
Removed from v.1.78  
changed lines
  Added in v.1.81

CVSweb