lib/plurimath/math/symbols/leo.rb in plurimath-0.8.12 vs lib/plurimath/math/symbols/leo.rb in plurimath-0.8.13
- old
+ new
@@ -1,12 +1,12 @@
module Plurimath
module Math
module Symbols
class Leo < Symbol
INPUT = {
- unicodemath: [["♌"], parsing_wrapper(["leo", "Leo"])],
- asciimath: [["♌"], parsing_wrapper(["leo", "Leo"])],
+ unicodemath: [["♌"], parsing_wrapper(["leo", "Leo"], lang: :unicode)],
+ asciimath: [["♌"], parsing_wrapper(["leo", "Leo"], lang: :asciimath)],
mathml: ["♌"],
latex: [["leo", "Leo", "♌"]],
omml: ["♌"],
html: ["♌"],
}.freeze
@@ -15,10 +15,10 @@
def to_latex
"\\leo"
end
def to_asciimath
- parsing_wrapper("Leo")
+ parsing_wrapper("Leo", lang: :asciimath)
end
def to_unicodemath
Utility.html_entity_to_unicode("♌")
end