Skip to content

Commit f36ec5c

Browse files
committed
add semantics tag name
1 parent c3ecbf3 commit f36ec5c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Math/Writer/MathML.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,10 @@ protected function getElementTagName(Element\AbstractElement $element): string
122122
return 'mo';
123123
}
124124

125+
if ($element instanceof Element\Semantics) {
126+
return 'semantics';
127+
}
128+
125129
throw new NotImplementedException(sprintf(
126130
'%s : The element of the class `%s` has no tag name',
127131
__METHOD__,

0 commit comments

Comments
 (0)