Diff for /loncom/interface/lonhtmlcommon.pm between versions 1.87 and 1.88

version 1.87, 2004/08/17 19:02:57 version 1.88, 2004/08/29 07:03:53
Line 926  sub htmlareaaddbuttons { Line 926  sub htmlareaaddbuttons {
     config.registerButton('ed_math','LaTeX Inline',      config.registerButton('ed_math','LaTeX Inline',
   '/htmlarea/images/ed_math.gif',false,    '/htmlarea/images/ed_math.gif',false,
     function(editor,id) {      function(editor,id) {
       editor.surroundHTML('<m>\$','\$</m>');        editor.surroundHTML('&nbsp;<m>\$','\$</m>&nbsp;');
     }      }
   );    );
     config.registerButton('ed_math_eqn','LaTeX Equation',      config.registerButton('ed_math_eqn','LaTeX Equation',
   '/htmlarea/images/ed_math_eqn.gif',false,    '/htmlarea/images/ed_math_eqn.gif',false,
     function(editor,id) {      function(editor,id) {
       editor.surroundHTML(        editor.surroundHTML(
      '<center><m>\\\\[','\\\\]</m></center>');       '&nbsp;\\n<center><m>\\\\[','\\\\]</m></center>\\n&nbsp;');
     }      }
   );    );
     config.toolbar.push(['ed_math','ed_math_eqn']);      config.toolbar.push(['ed_math','ed_math_eqn']);

Removed from v.1.87  
changed lines
  Added in v.1.88


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>