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

Diff for /mandoc/mdoc_html.c between version 1.285 and 1.286

version 1.285, 2017/05/05 15:17:32 version 1.286, 2017/05/09 14:10:01
Line 359  print_mdoc_node(MDOC_ARGS)
Line 359  print_mdoc_node(MDOC_ARGS)
                  * Make sure that if we're in a literal mode already                   * Make sure that if we're in a literal mode already
                  * (i.e., within a <PRE>) don't print the newline.                   * (i.e., within a <PRE>) don't print the newline.
                  */                   */
                 if (' ' == *n->string && NODE_LINE & n->flags)                  if (*n->string == ' ' && n->flags & NODE_LINE &&
                         if ( ! (HTML_LITERAL & h->flags))                      (h->flags & (HTML_LITERAL | HTML_NONEWLINE)) == 0)
                                 print_otag(h, TAG_BR, "");                          print_otag(h, TAG_BR, "");
                 if (NODE_DELIMC & n->flags)                  if (NODE_DELIMC & n->flags)
                         h->flags |= HTML_NOSPACE;                          h->flags |= HTML_NOSPACE;
                 print_text(h, n->string);                  print_text(h, n->string);

Legend:
Removed from v.1.285  
changed lines
  Added in v.1.286

CVSweb