Skip to content

Commit

Permalink
Fix * parse error (#866)
Browse files Browse the repository at this point in the history
## Summary of Changes
Fixed bug for not supporting un-escaped ∗

Co-authored-by: Justin <[email protected]>
  • Loading branch information
Free-Quarks and Justin authored Mar 25, 2024
1 parent ef0cfc2 commit 3e19d03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skema/skema-rs/mathml/src/parsers/generic_mathml.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ pub fn subtract(input: Span) -> IResult<Operator> {
}

pub fn multiply(input: Span) -> IResult<Operator> {
let (s, op) = value(Operator::Multiply, alt((ws(tag("*")), ws(tag("&#x2217;")))))(input)?;
let (s, op) = value(Operator::Multiply, alt((ws(tag("*")), ws(tag("&#x2217;")), ws(tag("∗")))))(input)?;
Ok((s, op))
}

Expand Down

0 comments on commit 3e19d03

Please sign in to comment.