1<?php 2/** 3 * Description Term element component for the adhoctags plugin 4 * 5 * Defines <dt> ... </dt> syntax 6 * More info: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dt 7 * 8 * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) 9 * @author Anika Henke <anika@selfthinker.org> 10 * @author Sascha Leib <sascha.leib(at)kolmio.com> 11 */ 12 13class syntax_plugin_adhoctags_dt extends syntax_plugin_adhoctags_abstractheadline { 14 15 protected $tag = 'dt'; 16 17 function renderODTElementOpen($renderer, $HTMLelement, $data) { 18 $renderer->p_open(); 19 $renderer->strong_open(); 20 } 21 22 function renderODTElementClose($renderer, $element) { 23 $renderer->strong_close(); 24 $renderer->p_close(); 25 } 26 27}