# File lib/asciidoctor/converter/docbook5.rb, line 616
    def inline_quoted node
      if (type = node.type) == :asciimath
        if ((defined? ::AsciiMath) || ((defined? @asciimath_available) ? @asciimath_available :
            (@asciimath_available = Helpers.require_library 'asciimath', true, :warn)))
          # NOTE fop requires jeuclid to process raw mathml
          %(<inlineequation>#{(::AsciiMath.parse node.text).to_mathml 'mml:', 'xmlns:mml' => 'http://www.w3.org/1998/Math/MathML'}</inlineequation>)
        else
          %(<inlineequation><mathphrase><![CDATA[#{node.text}]]></mathphrase></inlineequation>)
        end
      elsif type == :latexmath
        # unhandled math; pass source to alt and required mathphrase element; dblatex will process alt as LaTeX math
        %(<inlineequation><alt><![CDATA[#{equation = node.text}]]></alt><mathphrase><![CDATA[#{equation}]]></mathphrase></inlineequation>)
      else
        open, close, supports_phrase = QUOTE_TAGS[type]
        text = node.text
        if node.role
          if supports_phrase
            quoted_text = %(#{open}<phrase role="#{node.role}">#{text}</phrase>#{close})
          else
            quoted_text = %(#{open.chop} role="#{node.role}">#{text}#{close})
          end
        else
          quoted_text = %(#{open}#{text}#{close})
        end

        node.id ? %(<anchor#{common_attributes node.id, nil, text}/>#{quoted_text}) : quoted_text
      end
    end