... syntax * More info: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details * * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) * @author Anika Henke * @author Sascha Leib */ class syntax_plugin_adhoctags_details extends syntax_plugin_adhoctags_abstractblock { protected $tag = 'details'; /* allow link attributes: */ function allowAttribute(&$name, &$value) { //dbg('
:allowAttribute(' . $name . ', "' . $value . '")'); return ( $name == 'open' && in_array($value, array('','open')) ); } }