From dc4857ac92e276ac4c0720fcc506e231b709b549 Mon Sep 17 00:00:00 2001 From: Ben Alpert Date: Mon, 26 May 2014 01:13:52 -0700 Subject: [PATCH] Fix typesetting of ' Not 100% sure this is the right fix but it appears to work. Test Plan: Typeset $x'$ in Perseus. Auditors: emily --- Parser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Parser.js b/Parser.js index 36701487b..c06e7174c 100644 --- a/Parser.js +++ b/Parser.js @@ -94,7 +94,7 @@ Parser.prototype.parseSuperscript = function(pos, mode) { } else if (sup.type === "'") { var pos = sup.position; return new ParseResult( - new ParseNode("textord", "\\prime"), sup.position, mode); + new ParseNode("textord", "\\prime", mode), sup.position, mode); } else { return null; }