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