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

- old
+ new

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