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