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

- old
+ new

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