... syntax * More info: https://developer.mozilla.org/en-US/docs/Web/MathML/Element/semantics * * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) * @author Sascha Leib */ class syntax_plugin_adhocmathml_semantics extends syntax_plugin_adhocmathml_abstract { protected $tag = 'semantics'; /* allow link attributes: */ function allowSpecificAttribute(&$name, &$value) { //dbg('MathML: - allowSpecificAttribute(' . $name . ', "' . $value . '")'); switch (trim($name)) { case 'encoding': return true; /* TODO! */ break; default: return false; } } /** * ODT Renderer Functions */ function renderODTElementOpen($renderer, $HTMLelement, $data) { //$renderer->table_open(); } function renderODTElementClose($renderer, $element) { //$renderer->table_close(); } }