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

- old
+ new

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