Update: using Sigil to look inside the .epub, I saw it was produced by `pandoc` and the math is rendered as MathML.