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

- old
+ new

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