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

- old
+ new

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