1 # Author: David Goodger |
1 # Author: David Goodger |
2 # copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved. |
|
3 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr |
|
4 # |
|
5 # This file is part of CubicWeb. |
|
6 # |
|
7 # CubicWeb is free software: you can redistribute it and/or modify it under the |
|
8 # terms of the GNU Lesser General Public License as published by the Free |
|
9 # Software Foundation, either version 2.1 of the License, or (at your option) |
|
10 # any later version. |
|
11 # |
|
12 # CubicWeb is distributed in the hope that it will be useful, but WITHOUT |
|
13 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
|
14 # FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more |
|
15 # details. |
|
16 # |
|
17 # You should have received a copy of the GNU Lesser General Public License along |
|
18 # with CubicWeb. If not, see <http://www.gnu.org/licenses/>. |
|
19 """ |
|
20 |
|
21 """ |
|
22 # Contact: goodger@users.sourceforge.net |
2 # Contact: goodger@users.sourceforge.net |
23 # Revision: $Revision: 1.2 $ |
3 # Revision: $Revision: 1.2 $ |
24 # Date: $Date: 2005-07-04 16:36:50 $ |
4 # Date: $Date: 2005-07-04 16:36:50 $ |
25 # Copyright: This module has been placed in the public domain. |
5 # Copyright: This module has been placed in the public domain. |
26 |
|
27 """ |
6 """ |
28 Simple HyperText Markup Language document tree Writer. |
7 Simple HyperText Markup Language document tree Writer. |
29 |
8 |
30 The output conforms to the HTML 4.01 Transitional DTD and to the Extensible |
9 The output conforms to the HTML 4.01 Transitional DTD and to the Extensible |
31 HTML version 1.0 Transitional DTD (*almost* strict). The output contains a |
10 HTML version 1.0 Transitional DTD (*almost* strict). The output contains a |
32 minimum of formatting information. A cascading style sheet ("default.css" by |
11 minimum of formatting information. A cascading style sheet ("default.css" by |
33 default) is required for proper viewing with a modern graphical browser. |
12 default) is required for proper viewing with a modern graphical browser. |
34 |
13 |
35 http://cvs.zope.org/Zope/lib/python/docutils/writers/Attic/html4zope.py?rev=1.1.2.2&only_with_tag=ajung-restructuredtext-integration-branch&content-type=text/vnd.viewcvs-markup |
14 http://cvs.zope.org/Zope/lib/python/docutils/writers/Attic/html4zope.py?rev=1.1.2.2&only_with_tag=ajung-restructuredtext-integration-branch&content-type=text/vnd.viewcvs-markup |
36 """ |
15 """ |
37 |
|
38 __docformat__ = 'reStructuredText' |
|
39 |
16 |
40 import os |
17 import os |
41 |
18 |
42 from logilab.mtconverter import xml_escape |
19 from logilab.mtconverter import xml_escape |
43 |
20 |