Lines:
1 to 100 of 211
<?php /************************************************************************************* * html5.php * --------------- * Author: Nigel McNie (nigel@geshi.org) * Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/) * Release Version: 1.0.9.0 * Date Started: 2004/07/10 * * HTML 5 language file for GeSHi. * * CHANGES * ------- * 2005/12/28 (1.0.4) * - Removed escape character for strings * 2004/11/27 (1.0.3) * - Added support for multiple object splitters * 2004/10/27 (1.0.2) * - Added support for URLs * 2004/08/05 (1.0.1) * - Added INS and DEL * - Removed the background colour from tags' styles * 2004/07/14 (1.0.0) * - First Release * * TODO (updated 2004/11/27) * ------------------------- * * Check that only HTML4 strict attributes are highlighted * * Eliminate empty tags that aren't allowed in HTML4 strict * * Split to several files - html4trans, xhtml1 etc * ************************************************************************************* * * This file is part of GeSHi. * * GeSHi is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * GeSHi is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with GeSHi; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * ************************************************************************************/ $language_data = array ( 'LANG_NAME' => 'HTML5', 'COMMENT_SINGLE' => array(), 'COMMENT_MULTI' => array(), 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, 'QUOTEMARKS' => array("'", '"'), 'ESCAPE_CHAR' => '', 'KEYWORDS' => array( 2 => array( 'a', 'abbr', 'address', 'article', 'area', 'aside', 'audio', 'base', 'bdo', 'blockquote', 'body', 'br', 'button', 'b', 'caption', 'cite', 'code', 'colgroup', 'col', 'canvas', 'command', 'datalist', 'details', 'dd', 'del', 'dfn', 'div', 'dl', 'dt', 'em', 'embed', 'fieldset', 'form', 'figcaption', 'figure', 'footer', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'hr', 'html', 'header', 'hgroup', 'iframe', 'ilayer', 'img', 'input', 'ins', 'isindex', 'i', 'kbd', 'keygen', 'label', 'legend', 'link', 'li', 'map', 'meta', 'mark', 'meter', 'noscript', 'nav', 'object', 'ol', 'optgroup', 'option', 'output', 'param', 'pre', 'p', 'progress', 'q', 'rp', 'rt', 'ruby', 'samp', 'script', 'select', 'small', 'span', 'strong', 'style', 'sub', 'sup', 's', 'section', 'source', 'summary', 'table', 'tbody', 'td', 'textarea', 'text', 'tfoot', 'thead', 'th', 'title', 'tr', 'time', 'ul', 'var', 'video', 'wbr',View on GitHub View on Trac