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

- old
+ new

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