Diff for /loncom/interface/lonhtmlcommon.pm between versions 1.84.2.1 and 1.84.2.2

version 1.84.2.1, 2004/08/17 19:09:33 version 1.84.2.2, 2004/08/29 07:53:00
Line 897  sub htmlareaaddbuttons { Line 897  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.84.2.1  
changed lines
  Added in v.1.84.2.2


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