[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.11 and 1.13

version 1.11, 2017/03/08 17:40:55 version 1.13, 2017/03/08 18:17:21
Line 535  md_word(const char *s)
Line 535  md_word(const char *s)
                         bs = escflags & ESC_HYP && !code_blocks;                          bs = escflags & ESC_HYP && !code_blocks;
                         break;                          break;
                 case ')':                  case ')':
                         bs = escflags & ESC_PAR && !code_blocks;                          bs = escflags & (ESC_NUM | ESC_PAR) && !code_blocks;
                         break;                          break;
                 case '*':                  case '*':
                 case '[':                  case '[':
Line 706  md_pre_raw(struct roff_node *n)
Line 706  md_pre_raw(struct roff_node *n)
         if ((prefix = md_acts[n->tok].prefix) != NULL) {          if ((prefix = md_acts[n->tok].prefix) != NULL) {
                 md_rawword(prefix);                  md_rawword(prefix);
                 outflags &= ~MD_spc;                  outflags &= ~MD_spc;
                   if (*prefix == '`')
                           code_blocks++;
         }          }
         return 1;          return 1;
 }  }
Line 718  md_post_raw(struct roff_node *n)
Line 720  md_post_raw(struct roff_node *n)
         if ((suffix = md_acts[n->tok].suffix) != NULL) {          if ((suffix = md_acts[n->tok].suffix) != NULL) {
                 outflags &= ~(MD_spc | MD_nl);                  outflags &= ~(MD_spc | MD_nl);
                 md_rawword(suffix);                  md_rawword(suffix);
                   if (*suffix == '`')
                           code_blocks--;
         }          }
 }  }
   

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.13

CVSweb