Skip to content

Commit

Permalink
Merge pull request #2 from mathquill/fix-unicode-mistranslations
Browse files Browse the repository at this point in the history
Revert some unicode character LatexCmds
  • Loading branch information
sclower committed Apr 21, 2016
2 parents 7fa9088 + 147961b commit 087f912
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/commands/math/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -373,11 +373,11 @@ var SummationNotation = P(MathCommand, function(_, super_) {
};
});

LatexCmds['?'] =
LatexCmds[''] =
LatexCmds.sum =
LatexCmds.summation = bind(SummationNotation,'\\sum ','∑');

LatexCmds['?'] =
LatexCmds[''] =
LatexCmds.prod =
LatexCmds.product = bind(SummationNotation,'\\prod ','∏');

Expand Down Expand Up @@ -455,7 +455,7 @@ CharCmds['/'] = P(Fraction, function(_, super_) {

var SquareRoot =
LatexCmds.sqrt =
LatexCmds['v'] = P(MathCommand, function(_, super_) {
LatexCmds[''] = P(MathCommand, function(_, super_) {
_.ctrlSeq = '\\sqrt';
_.htmlTemplate =
'<span class="mq-non-leaf">'
Expand Down

0 comments on commit 087f912

Please sign in to comment.