lib/plurimath/math/symbols/barcup.rb in plurimath-0.8.12 vs lib/plurimath/math/symbols/barcup.rb in plurimath-0.8.13
- old
+ new
@@ -1,12 +1,12 @@
module Plurimath
module Math
module Symbols
class Barcup < Symbol
INPUT = {
- unicodemath: [["⩂"], parsing_wrapper(["barcup"])],
- asciimath: [["⩂"], parsing_wrapper(["barcup"])],
+ unicodemath: [["⩂"], parsing_wrapper(["barcup"], lang: :unicode)],
+ asciimath: [["⩂"], parsing_wrapper(["barcup"], lang: :asciimath)],
mathml: ["⩂"],
latex: [["barcup", "⩂"]],
omml: ["⩂"],
html: ["⩂"],
}.freeze
@@ -15,10 +15,10 @@
def to_latex
"\\barcup"
end
def to_asciimath
- parsing_wrapper("barcup")
+ parsing_wrapper("barcup", lang: :asciimath)
end
def to_unicodemath
Utility.html_entity_to_unicode("⩂")
end