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