diff --git a/src/Math/Writer/MathML.php b/src/Math/Writer/MathML.php index d8905f0..1b23be6 100644 --- a/src/Math/Writer/MathML.php +++ b/src/Math/Writer/MathML.php @@ -122,6 +122,10 @@ protected function getElementTagName(Element\AbstractElement $element): string return 'mo'; } + if ($element instanceof Element\Semantics) { + return 'semantics'; + } + throw new NotImplementedException(sprintf( '%s : The element of the class `%s` has no tag name', __METHOD__,