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