* @author Sascha Leib */ class syntax_plugin_adhoctags_abstractinline extends syntax_plugin_adhoctags_abstract { protected $special_pattern = '<%t%\b[^>\r\n]*?/>'; protected $entry_pattern = '<%t%\b.*?>(?=.*?)'; // '%t%' is the placeholder for the tag name protected $exit_pattern = ''; function getAllowedTypes() { return array('formatting', 'substition', 'disabled'); } function getPType(){ return 'normal';} /* Inline elements have a much simpler unmatched handling */ function handleUnmatched($match, $state, $pos, Doku_Handler $handler) { $handler->addCall('cdata', array($match), $pos); return false; } }