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

Diff for /mandoc/mdoc_markdown.c between version 1.1 and 1.2

version 1.1, 2017/03/03 14:23:23 version 1.2, 2017/03/04 21:41:29
Line 1419  md_pre_Xr(struct roff_node *n)
Line 1419  md_pre_Xr(struct roff_node *n)
 static int  static int
 md_pre__T(struct roff_node *n)  md_pre__T(struct roff_node *n)
 {  {
         if (n->parent != NULL && n->parent->tok == MDOC_Rs &&          if (n->parent->tok == MDOC_Rs && n->parent->norm->Rs.quote_T)
             n->parent->norm->Rs.quote_T)  
                 md_word("\"");                  md_word("\"");
         else          else
                 md_rawword("*");                  md_rawword("*");
Line 1432  static void
Line 1431  static void
 md_post__T(struct roff_node *n)  md_post__T(struct roff_node *n)
 {  {
         outflags &= ~MD_spc;          outflags &= ~MD_spc;
         if (n->parent != NULL && n->parent->tok == MDOC_Rs &&          if (n->parent->tok == MDOC_Rs && n->parent->norm->Rs.quote_T)
             n->parent->norm->Rs.quote_T)  
                 md_word("\"");                  md_word("\"");
         else          else
                 md_rawword("*");                  md_rawword("*");

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

CVSweb