[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.195 and 1.197

version 1.195, 2014/08/06 15:09:05 version 1.197, 2014/08/13 15:25:22
Line 15 
Line 15 
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF   * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.   * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */   */
 #ifdef HAVE_CONFIG_H  
 #include "config.h"  #include "config.h"
 #endif  
   
 #include <sys/types.h>  #include <sys/types.h>
   
Line 1085  mdoc_ex_pre(MDOC_ARGS)
Line 1083  mdoc_ex_pre(MDOC_ARGS)
 static int  static int
 mdoc_em_pre(MDOC_ARGS)  mdoc_em_pre(MDOC_ARGS)
 {  {
         struct htmlpair tag;  
   
         PAIR_CLASS_INIT(&tag, "emph");          print_otag(h, TAG_EM, 0, NULL);
         print_otag(h, TAG_SPAN, 1, &tag);  
         return(1);          return(1);
 }  }
   
Line 1824  mdoc_bf_pre(MDOC_ARGS)
Line 1820  mdoc_bf_pre(MDOC_ARGS)
         else if (MDOC_BODY != n->type)          else if (MDOC_BODY != n->type)
                 return(1);                  return(1);
   
         if (FONT_Em == n->norm->Bf.font)          if (FONT_Sy == n->norm->Bf.font)
                 PAIR_CLASS_INIT(&tag[0], "emph");  
         else if (FONT_Sy == n->norm->Bf.font)  
                 PAIR_CLASS_INIT(&tag[0], "symb");                  PAIR_CLASS_INIT(&tag[0], "symb");
         else if (FONT_Li == n->norm->Bf.font)          else if (FONT_Li == n->norm->Bf.font)
                 PAIR_CLASS_INIT(&tag[0], "lit");                  PAIR_CLASS_INIT(&tag[0], "lit");
Line 1844  mdoc_bf_pre(MDOC_ARGS)
Line 1838  mdoc_bf_pre(MDOC_ARGS)
         bufcat_su(h, "margin-left", &su);          bufcat_su(h, "margin-left", &su);
         PAIR_STYLE_INIT(&tag[1], h);          PAIR_STYLE_INIT(&tag[1], h);
         print_otag(h, TAG_DIV, 2, tag);          print_otag(h, TAG_DIV, 2, tag);
           if (FONT_Em == n->norm->Bf.font)
                   print_otag(h, TAG_EM, 0, NULL);
         return(1);          return(1);
 }  }
   

Legend:
Removed from v.1.195  
changed lines
  Added in v.1.197

CVSweb