Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
b5ffa243
Commit
b5ffa243
authored
Feb 22, 2003
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
we forgot to call apply_forms (found by Uwe Hentzschel)
parent
565aabfd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
44 deletions
+9
-44
lib/python/Products/ZReST/ZReST.py
lib/python/Products/ZReST/ZReST.py
+5
-44
lib/python/reStructuredText/__init__.py
lib/python/reStructuredText/__init__.py
+4
-0
No files found.
lib/python/Products/ZReST/ZReST.py
View file @
b5ffa243
#
# $Id: ZReST.py,v 1.
5 2003/02/06 09:05:57
andreasjung Exp $
# $Id: ZReST.py,v 1.
6 2003/02/22 07:08:12
andreasjung Exp $
#
''' ReStructuredText Product for Zope
...
...
@@ -195,6 +195,10 @@ class ZReST(Item, PropertyManager, Historical, Implicit, Persistent):
# parse!
document
=
pub
.
reader
.
read
(
pub
.
source
,
pub
.
parser
,
pub
.
settings
)
# transform
pub
.
apply_transforms
(
document
)
self
.
warnings
=
''
.
join
(
pub
.
settings
.
warning_stream
.
messages
)
if
document
.
children
:
...
...
@@ -269,47 +273,4 @@ InitializeClass(ZReST)
modulesecurity
.
apply
(
globals
())
#
# $Log: ZReST.py,v $
# Revision 1.5 2003/02/06 09:05:57 andreasjung
# fixed invalid MIME header
#
# Revision 1.4 2003/02/02 14:21:51 andreasjung
# the content-type header is now set with the corresponding encoding parameter
#
# Revision 1.3 2003/02/01 10:23:10 andreasjung
# input/output_encoding are now properties making ZReST more configurable
#
# Revision 1.2 2003/02/01 09:28:30 andreasjung
# merge from ajung-restructuredtext-integration-branch
#
# Revision 1.1.2.5 2003/01/30 19:00:24 andreasjung
# forgot to import sys
#
# Revision 1.1.2.4 2003/01/30 18:10:57 andreasjung
# using Pythons default encoding instead of the docutils defaults
#
# Revision 1.1.2.3 2003/01/30 18:09:44 andreasjung
# update from RIchards sandbox
#
# Revision 1.6 2002/11/28 03:44:50 goodger
# updated
#
# Revision 1.5 2002/11/05 05:27:56 goodger
# fixed Reader name
#
# Revision 1.4 2002/10/18 05:10:33 goodger
# Refactored names (options -> settings; etc.); updated.
#
# Revision 1.3 2002/08/15 05:02:41 richard
# pull out the document title too
#
# Revision 1.2 2002/08/15 04:36:56 richard
# FTP interface and Reporter message snaffling
#
# Revision 1.1 2002/08/14 05:15:37 richard
# Zope ReStructuredText Product
#
#
#
# vim: set filetype=python ts=4 sw=4 et si
lib/python/reStructuredText/__init__.py
View file @
b5ffa243
...
...
@@ -75,6 +75,10 @@ def HTML(src, writer='html4zope', report_level=1, stylesheet='default.css',
# parse!
document
=
pub
.
reader
.
read
(
pub
.
source
,
pub
.
parser
,
pub
.
settings
)
# transform
pub
.
apply_transforms
(
document
)
warnings
=
''
.
join
(
pub
.
settings
.
warning_stream
.
messages
)
# do the format
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment