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

- old
+ new

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