mirror of https://github.com/rm-dr/daisy
fixed substitutions
parent
ac57f13888
commit
eb101439d9
|
@ -28,6 +28,8 @@ pub(in crate::parser) fn find_subs(
|
||||||
let target = match &s[..] {
|
let target = match &s[..] {
|
||||||
"*" => {Some("×")},
|
"*" => {Some("×")},
|
||||||
"/" => {Some("÷")},
|
"/" => {Some("÷")},
|
||||||
|
"sqrt" => {Some("√")},
|
||||||
|
"rt" => {Some("√")},
|
||||||
_ => {None}
|
_ => {None}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -64,11 +66,6 @@ pub(in crate::parser) fn find_subs(
|
||||||
"chi" => {Some("χ")},
|
"chi" => {Some("χ")},
|
||||||
"psi" => {Some("ψ")},
|
"psi" => {Some("ψ")},
|
||||||
"omega" => {Some("ω")},
|
"omega" => {Some("ω")},
|
||||||
|
|
||||||
// Operators
|
|
||||||
"sqrt" => {Some("√")},
|
|
||||||
"rt" => {Some("√")},
|
|
||||||
|
|
||||||
_ => {None}
|
_ => {None}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue