Skip to content

Commit 59f8727

Browse files
committed
Canonical a look-alike vertical bar to be vertical bar
1 parent d21f7d4 commit 59f8727

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/canonicalize.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -952,6 +952,7 @@ impl CanonicalizeContext {
952952
return Some(mathml);
953953
},
954954
"::" =>{mathml.set_text("∷");},
955+
"│" => {mathml.set_text("|");}, // ASCII vertical bar
955956
"|" | "||" => if let Some(result) = merge_vertical_bars(mathml) {
956957
return Some(result);
957958
} else {

0 commit comments

Comments
 (0)