move link processing from separate tree processor to writer/translator
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@3211 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
f63e0787fd
commit
76656cdd88
1 changed files with 5 additions and 2 deletions
|
@ -32,5 +32,8 @@ class Parser(object):
|
||||||
|
|
||||||
implements(IParser)
|
implements(IParser)
|
||||||
|
|
||||||
def parse(self, text):
|
def parse(self, text, context, request=None):
|
||||||
return publish_doctree(text)
|
tree = publish_doctree(text)
|
||||||
|
tree.context = context
|
||||||
|
tree.request = request
|
||||||
|
return tree
|
||||||
|
|
Loading…
Add table
Reference in a new issue