From 5788a76dcf99a51074d2ec6c996d4cbf867b9481 Mon Sep 17 00:00:00 2001 From: Emily Eisenberg Date: Sat, 10 Aug 2013 03:23:46 -0700 Subject: [PATCH] Do bin -> ord for all the correct types Fixes T1303 Auditors: alpert --- buildTree.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buildTree.js b/buildTree.js index 86f6319..67a27d8 100644 --- a/buildTree.js +++ b/buildTree.js @@ -57,7 +57,8 @@ var groupTypes = { var atoms = prevAtom.value.value; prevAtom = atoms[atoms.length - 1]; } - if (!prev || utils.contains(["bin", "open", "rel"], prevAtom.type)) { + if (!prev || utils.contains(["bin", "open", "rel", "op", "punct"], + prevAtom.type)) { group.type = "ord"; className = "mord"; }