2 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
\r
3 * Copyright (C) 2003-2010 Frederico Caldeira Knabben
\r
5 * == BEGIN LICENSE ==
\r
7 * Licensed under the terms of any of the following licenses at your
\r
10 * - GNU General Public License Version 2 or later (the "GPL")
\r
11 * http://www.gnu.org/licenses/gpl.html
\r
13 * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
\r
14 * http://www.gnu.org/licenses/lgpl.html
\r
16 * - Mozilla Public License Version 1.1 or later (the "MPL")
\r
17 * http://www.mozilla.org/MPL/MPL-1.1.html
\r
21 * Contains the DTD mapping for XHTML 1.0 Transitional.
\r
22 * This file was automatically generated from the file: xhtml10-transitional.dtd
\r
24 FCK.DTD = (function()
\r
26 var X = FCKTools.Merge ;
\r
28 var A,L,J,M,N,O,D,H,P,K,Q,F,G,C,B,E,I ;
\r
29 A = {isindex:1, fieldset:1} ;
\r
30 B = {input:1, button:1, select:1, textarea:1, label:1} ;
\r
32 D = X({iframe:1}, C) ;
\r
33 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
34 F = {ins:1, del:1, script:1} ;
\r
35 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
36 H = X({sub:1, img:1, object:1, sup:1, basefont:1, map:1, applet:1, font:1, big:1, small:1}, G) ;
\r
38 J = X({iframe:1}, H, B) ;
\r
39 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
44 O = X({param:1}, K) ;
\r
45 P = X({form:1}, A, D, E, I) ;
\r
70 form: X(A, D, E, I),
\r
71 select: {optgroup:1, option:1},
\r
72 font: J, // Changed from L to J (see (1))
\r
77 table: {thead:1, col:1, tbody:1, tr:1, colgroup:1, caption:1, tfoot:1},
\r
85 strong: J, // Changed from L to J (see (1))
\r
88 big: J, // Changed from L to J (see (1))
\r
89 small: J, // Changed from L to J (see (1))
\r
90 span: J, // Changed from L to J (see (1))
\r
93 sub: J, // Changed from L to J (see (1))
\r
94 optgroup: {option:1},
\r
97 'var': J, // Changed from L to J (see (1))
\r
100 sup: J, // Changed from L to J (see (1))
\r
102 strike: J, // Changed from L to J (see (1))
\r
105 map: X({area:1, form:1, p:1}, A, F, E),
\r
110 fieldset: X({legend:1}, K),
\r
114 b: J, // Changed from L to J (see (1))
\r
118 i: J, // Changed from L to J (see (1))
\r
119 u: J, // Changed from L to J (see (1))
\r
123 tt: J, // Changed from L to J (see (1))
\r
128 em: J, // Changed from L to J (see (1))
\r
135 (1) According to the DTD, many elements, like <b> accept <a> elements
\r
136 inside of them. But, to produce better output results, we have manually
\r
137 changed the map to avoid breaking the links on pieces, having
\r
138 "<b>this is a </b><a><b>link</b> test</a>", instead of
\r
139 "<b>this is a <a>link</a></b><a> test</a>".
\r