module Plurimath module Math module Symbols class Paren class Rbrack < Paren INPUT = { unicodemath: [["]"], parsing_wrapper(["rbrack"], lang: :unicode)], asciimath: [["]"], parsing_wrapper(["rbrack"], lang: :asciimath)], mathml: ["]"], latex: [["\\rbrack", "]"]], omml: ["]"], html: ["]"], }.freeze # output methods def to_latex(**) "\\rbrack" end def to_asciimath(**) parsing_wrapper("rbrack", lang: :asciimath) end def to_unicodemath(**) encoded end def to_mathml_without_math_tag(_, **) ox_element("mi") << encoded end def to_omml_without_math_tag(_, **) "]" end def to_html(**) "]" end def open? false end def close? true end def opening Lbrack end private def encoded Utility.html_entity_to_unicode("]") end end end end end end