Class: Metanorma::Document::Components::Inline::SemxElement

Inherits:
Lutaml::Model::Serializable
  • Object
show all
Defined in:
lib/metanorma/document/components/inline/semx_element.rb

Overview

wraps a rendered-display slice of an inline element.

Known limitation (BUGS.sts 06, filed upstream against lutaml-model): when this element is parsed nested inside another mixed_content parent, the direct text content of may be captured by the parent's text attribute rather than by SemxElement#text. Standalone parsing works correctly. See TODO.bugs/06-nested-mixed-content-text-ownership.md and https://github.com/lutaml/lutaml-model bug "nested-mixed-content-text-ownership".