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

- old
+ new

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