Class: Metanorma::Document::Components::Inline::MathElement

Inherits:
Mml::V3::Math
  • Object
show all
Defined in:
lib/metanorma/document/components/inline/math_element.rb

Overview

A MathML <math> element. Modeled via the mml gem's Mml::V3::Math, which carries the MathML namespace and a full MathML content model — no raw markup strings (project rule), and the xmlns survives round-trips (previously the raw-capture mapping dropped it, silently moving <math> into the standoc namespace on serialize).

Subclasses SemanticMathElement/RenderedMathElement stay as pure markers so consumers can distinguish the canonical form from the locale-rendered form via is_a?.

Direct Known Subclasses

RenderedMathElement, SemanticMathElement