1 <?php 2 /** 3 * Preformatted Text element component for the adhoctags plugin 4 * 5 * Defines <pre> ... </pre> syntax 6 * More info: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/pre 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 13 class syntax_plugin_adhoctags_pre extends syntax_plugin_adhoctags_abstractblock { 14 15 protected $tag = 'pre'; 16 17 function getAllowedTypes() { 18 return array('formatting','substition'); 19 } 20 21 function getPType() { return 'normal'; } 22 23 }