diff options
| author | Yi Chen Chong <40590448+yichenchong@users.noreply.github.com> | 2023-04-01 20:45:54 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-01 14:45:54 +0200 |
| commit | 90e7d18f26f2043cdf5ecda0d46b0174006c4b59 (patch) | |
| tree | b6774e5ceed8627c35ce3b94f4ff1f3ac2e03b05 /library | |
| parent | 387bcc3879dbcfac17b215acd9a6b29fe400a016 (diff) | |
Fixed extraneous spacing in sign operators (#500)
Diffstat (limited to 'library')
| -rw-r--r-- | library/src/math/row.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/library/src/math/row.rs b/library/src/math/row.rs index 67d9eeaf..26172303 100644 --- a/library/src/math/row.rs +++ b/library/src/math/row.rs @@ -50,17 +50,15 @@ impl MathRow { } // Convert variable operators into binary operators if something - // precedes them. + // precedes them and they are not preceded by a operator or comparator. if fragment.class() == Some(MathClass::Vary) && matches!( last.and_then(|i| resolved[i].class()), Some( MathClass::Normal | MathClass::Alphabetic - | MathClass::Binary | MathClass::Closing | MathClass::Fence - | MathClass::Relation ) ) { |
