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

- old
+ new

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