lib/plurimath/math/symbols/earth.rb in plurimath-0.8.12 vs lib/plurimath/math/symbols/earth.rb in plurimath-0.8.13

- old
+ new

@@ -1,12 +1,12 @@ module Plurimath module Math module Symbols class Earth < Symbol INPUT = { - unicodemath: [["&#x2641;"], parsing_wrapper(["varEarth", "earth"])], - asciimath: [["&#x2641;"], parsing_wrapper(["varEarth", "earth"])], + unicodemath: [["&#x2641;"], parsing_wrapper(["varEarth", "earth"], lang: :unicode)], + asciimath: [["&#x2641;"], parsing_wrapper(["varEarth", "earth"], lang: :asciimath)], mathml: ["&#x2641;"], latex: [["varEarth", "earth", "&#x2641;"]], omml: ["&#x2641;"], html: ["&#x2641;"], }.freeze @@ -15,10 +15,10 @@ def to_latex "\\varEarth" end def to_asciimath - parsing_wrapper("earth") + parsing_wrapper("earth", lang: :asciimath) end def to_unicodemath Utility.html_entity_to_unicode("&#x2641;") end