+++ /dev/null
-/*\r
- * FCKeditor - The text editor for Internet - http://www.fckeditor.net\r
- * Copyright (C) 2003-2010 Frederico Caldeira Knabben\r
- *\r
- * == BEGIN LICENSE ==\r
- *\r
- * Licensed under the terms of any of the following licenses at your\r
- * choice:\r
- *\r
- * - GNU General Public License Version 2 or later (the "GPL")\r
- * http://www.gnu.org/licenses/gpl.html\r
- *\r
- * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")\r
- * http://www.gnu.org/licenses/lgpl.html\r
- *\r
- * - Mozilla Public License Version 1.1 or later (the "MPL")\r
- * http://www.mozilla.org/MPL/MPL-1.1.html\r
- *\r
- * == END LICENSE ==\r
- *\r
- * Contains the DTD mapping for XHTML 1.0 Transitional.\r
- * This file was automatically generated from the file: xhtml10-transitional.dtd\r
- */\r
-FCK.DTD = (function()\r
-{\r
- var X = FCKTools.Merge ;\r
-\r
- var A,L,J,M,N,O,D,H,P,K,Q,F,G,C,B,E,I ;\r
- A = {isindex:1, fieldset:1} ;\r
- B = {input:1, button:1, select:1, textarea:1, label:1} ;\r
- C = X({a:1}, B) ;\r
- D = X({iframe:1}, C) ;\r
- E = {hr:1, ul:1, menu:1, div:1, blockquote:1, noscript:1, table:1, center:1, address:1, dir:1, pre:1, h5:1, dl:1, h4:1, noframes:1, h6:1, ol:1, h1:1, h3:1, h2:1} ;\r
- F = {ins:1, del:1, script:1} ;\r
- G = X({b:1, acronym:1, bdo:1, 'var':1, '#':1, abbr:1, code:1, br:1, i:1, cite:1, kbd:1, u:1, strike:1, s:1, tt:1, strong:1, q:1, samp:1, em:1, dfn:1, span:1}, F) ;\r
- H = X({sub:1, img:1, object:1, sup:1, basefont:1, map:1, applet:1, font:1, big:1, small:1}, G) ;\r
- I = X({p:1}, H) ;\r
- J = X({iframe:1}, H, B) ;\r
- K = {img:1, noscript:1, br:1, kbd:1, center:1, button:1, basefont:1, h5:1, h4:1, samp:1, h6:1, ol:1, h1:1, h3:1, h2:1, form:1, font:1, '#':1, select:1, menu:1, ins:1, abbr:1, label:1, code:1, table:1, script:1, cite:1, input:1, iframe:1, strong:1, textarea:1, noframes:1, big:1, small:1, span:1, hr:1, sub:1, bdo:1, 'var':1, div:1, object:1, sup:1, strike:1, dir:1, map:1, dl:1, applet:1, del:1, isindex:1, fieldset:1, ul:1, b:1, acronym:1, a:1, blockquote:1, i:1, u:1, s:1, tt:1, address:1, q:1, pre:1, p:1, em:1, dfn:1} ;\r
-\r
- L = X({a:1}, J) ;\r
- M = {tr:1} ;\r
- N = {'#':1} ;\r
- O = X({param:1}, K) ;\r
- P = X({form:1}, A, D, E, I) ;\r
- Q = {li:1} ;\r
-\r
- return {\r
- col: {},\r
- tr: {td:1, th:1},\r
- img: {},\r
- colgroup: {col:1},\r
- noscript: P,\r
- td: P,\r
- br: {},\r
- th: P,\r
- center: P,\r
- kbd: L,\r
- button: X(I, E),\r
- basefont: {},\r
- h5: L,\r
- h4: L,\r
- samp: L,\r
- h6: L,\r
- ol: Q,\r
- h1: L,\r
- h3: L,\r
- option: N,\r
- h2: L,\r
- form: X(A, D, E, I),\r
- select: {optgroup:1, option:1},\r
- font: J, // Changed from L to J (see (1))\r
- ins: P,\r
- menu: Q,\r
- abbr: L,\r
- label: L,\r
- table: {thead:1, col:1, tbody:1, tr:1, colgroup:1, caption:1, tfoot:1},\r
- code: L,\r
- script: N,\r
- tfoot: M,\r
- cite: L,\r
- li: P,\r
- input: {},\r
- iframe: P,\r
- strong: J, // Changed from L to J (see (1))\r
- textarea: N,\r
- noframes: P,\r
- big: J, // Changed from L to J (see (1))\r
- small: J, // Changed from L to J (see (1))\r
- span: J, // Changed from L to J (see (1))\r
- hr: {},\r
- dt: L,\r
- sub: J, // Changed from L to J (see (1))\r
- optgroup: {option:1},\r
- param: {},\r
- bdo: L,\r
- 'var': J, // Changed from L to J (see (1))\r
- div: P,\r
- object: O,\r
- sup: J, // Changed from L to J (see (1))\r
- dd: P,\r
- strike: J, // Changed from L to J (see (1))\r
- area: {},\r
- dir: Q,\r
- map: X({area:1, form:1, p:1}, A, F, E),\r
- applet: O,\r
- dl: {dt:1, dd:1},\r
- del: P,\r
- isindex: {},\r
- fieldset: X({legend:1}, K),\r
- thead: M,\r
- ul: Q,\r
- acronym: L,\r
- b: J, // Changed from L to J (see (1))\r
- a: J,\r
- blockquote: P,\r
- caption: L,\r
- i: J, // Changed from L to J (see (1))\r
- u: J, // Changed from L to J (see (1))\r
- tbody: M,\r
- s: L,\r
- address: X(D, I),\r
- tt: J, // Changed from L to J (see (1))\r
- legend: L,\r
- q: L,\r
- pre: X(G, C),\r
- p: L,\r
- em: J, // Changed from L to J (see (1))\r
- dfn: L\r
- } ;\r
-})() ;\r
-\r
-/*\r
- Notes:\r
- (1) According to the DTD, many elements, like <b> accept <a> elements\r
- inside of them. But, to produce better output results, we have manually\r
- changed the map to avoid breaking the links on pieces, having\r
- "<b>this is a </b><a><b>link</b> test</a>", instead of\r
- "<b>this is a <a>link</a></b><a> test</a>".\r
-*/\r