mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-08 04:28:41 +00:00
Fix typesetting of '
Not 100% sure this is the right fix but it appears to work. Test Plan: Typeset $x'$ in Perseus. Auditors: emily
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user