1<?php 2/** 3 * Emphasis element component for the wrap plugin 4 * 5 * Defines <em> ... </em> syntax 6 * More info: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/em 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_em extends syntax_plugin_adhoctags_abstractinline { 14 15 protected $tag = 'em'; 16 17 /** 18 * ODT Renderer Functions 19 */ 20 function renderODTElementOpen($renderer, $HTMLelement, $data) { 21 $renderer->emphasis_open(); 22 } 23 function renderODTElementClose($renderer, $element) { 24 $renderer->emphasis_close(); 25 } 26}