[LON-CAPA-cvs] cvs: loncom(version_1_2_X) /interface lonhtmlcommon.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Sun, 29 Aug 2004 07:53:00 -0000
albertel Sun Aug 29 03:53:00 2004 EDT
Modified files: (Branch: version_1_2_X)
/loncom/interface lonhtmlcommon.pm
Log:
- backport 1.88
Index: loncom/interface/lonhtmlcommon.pm
diff -u loncom/interface/lonhtmlcommon.pm:1.84.2.1 loncom/interface/lonhtmlcommon.pm:1.84.2.2
--- loncom/interface/lonhtmlcommon.pm:1.84.2.1 Tue Aug 17 15:09:33 2004
+++ loncom/interface/lonhtmlcommon.pm Sun Aug 29 03:53:00 2004
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common html routines
#
-# $Id: lonhtmlcommon.pm,v 1.84.2.1 2004/08/17 19:09:33 albertel Exp $
+# $Id: lonhtmlcommon.pm,v 1.84.2.2 2004/08/29 07:53:00 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -897,14 +897,14 @@
config.registerButton('ed_math','LaTeX Inline',
'/htmlarea/images/ed_math.gif',false,
function(editor,id) {
- editor.surroundHTML('<m>\$','\$</m>');
+ editor.surroundHTML(' <m>\$','\$</m> ');
}
);
config.registerButton('ed_math_eqn','LaTeX Equation',
'/htmlarea/images/ed_math_eqn.gif',false,
function(editor,id) {
editor.surroundHTML(
- '<center><m>\\\\[','\\\\]</m></center>');
+ ' \\n<center><m>\\\\[','\\\\]</m></center>\\n ');
}
);
config.toolbar.push(['ed_math','ed_math_eqn']);